BO2.PS3.Init();
BO2.RPC.Call(uint func_address, arguments);
BO2.RPC.Call(0x349B8C, 0, 0, "O \"^2Test!\""); //this calls SV_GameSendServerCommand
BO2.RPC.Call(0x3139A8, 0, "set cg_fov 90"); //this calls CBuf_AddText
BO2.RPC.Call(0x2A8044, 0x177B828, 1, 0); //this calls G_GivePlayerWeapon (and gives default weapon)
int returnVal = BO2.RPC.Call(0x275A04, "This is a string"); //Calls G_LocalizedStringIndex and assigns it's return value to returnVal
BO2.PS3.Init();
BO2.RPC.Call(uint func_address, arguments);
BO2.RPC.Call(0x349B8C, 0, 0, "O \"^2Test!\""); //this calls SV_GameSendServerCommand
BO2.RPC.Call(0x3139A8, 0, "set cg_fov 90"); //this calls CBuf_AddText
BO2.RPC.Call(0x2A8044, 0x177B828, 1, 0); //this calls G_GivePlayerWeapon (and gives default weapon)
int returnVal = BO2.RPC.Call(0x275A04, "This is a string"); //Calls G_LocalizedStringIndex and assigns it's return value to returnVal
BO2.PS3.Init();
BO2.RPC.Call(uint func_address, arguments);
BO2.RPC.Call(0x349B8C, 0, 0, "O \"^2Test!\""); //this calls SV_GameSendServerCommand
BO2.RPC.Call(0x3139A8, 0, "set cg_fov 90"); //this calls CBuf_AddText
BO2.RPC.Call(0x2A8044, 0x177B828, 1, 0); //this calls G_GivePlayerWeapon (and gives default weapon)
int returnVal = BO2.RPC.Call(0x275A04, "This is a string"); //Calls G_LocalizedStringIndex and assigns it's return value to returnVal
BO2.RPC.Call(0x19CA8F58, 32, 90);
private void SetDvarInt(uint dvarAddress, int value)
{
byte[] val = BitConverter.GetBytes(value);
Array.Reverse(val);
SetMemory(dvarAddress + 0x18, val);
}
private void SetDvarInt(uint dvarAddress, int value)
{
byte[] val = BitConverter.GetBytes(value);
Array.Reverse(val);
SetMemory(dvarAddress + 0x18, val);
}
private void button1_Click(object sender, EventArgs e)
{
byte[] val = BitConverter.GetBytes(value);
Array.Reverse(val);
SetMemory(0x01CA8F58 + 0x18, 90);
}
private void button1_Click(object sender, EventArgs e)
{
byte[] val = BitConverter.GetBytes(value);
Array.Reverse(val);
SetMemory(0x01CA8F58 + 0x18, 90);
}
private void button1_Click(object sender, EventArgs e)
{
SetDvarInt(0x01CA8F58, 90);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.