typedef void (*SendConsoleCommand_)(int a1, char *command); SendConsoleCommand_ SendConsoleCommand = (SendConsoleCommand_)0x??????;
bool IsGameReadyForHook()
{
if(GetModuleHandleA("d3d9.dll") != NULL
&& GetModuleHandleA("ClientFX.fxd" ) != NULL
&& GetModuleHandleA("CShell.dll") != NULL)
return true;
return false;
}
if(GetAsyncKeyState(VK_NUMPAD0)&1)
{
*(long*)0x01BF9D58 = 99;
}
If IsProcessOpen("BlackOps") Then
string1 = readdll("cshell.dll")
string2 = "&H" & Hex(string1 + address)
WriteMemory(string2, value, bytes)
006B1B23 6A 00 PUSH 0 006B1B25 68 C469B400 PUSH BlackOps.00B469C4 ; ASCII "ui_showShadowOptions" 006B1B2A E8 91E1F6FF CALL BlackOps.0061FCC0