why my gta crashes when i do this to a function ?
and i saw a post on relases
in the both cases my game crashes . any ideas ?
and also if u can give me an offset for name of the ped .. it would be great
Code:
if (kpo(VK_MULTIPLY))
{
*(BYTE*)(0x740676) = 0x90;
*(BYTE*)(0x740677) = 0x90;
*(BYTE*)(0x740678) = 0x90;
}
Code:
if (bRecoil)
memcpy_s((void*)0x740676, "x90\x90\x90", 3);
else
memcpy_s((void*)0x740676, "xD9\x58\x2C", 3);
and also if u can give me an offset for name of the ped .. it would be great