Code:
{$CLEO .cs}
0000: NOP
wait 7500
while true
wait 0
if
0AA2: 0@ = load_library "samp.dll"
then
0A8E: 1@ = 0@ + 0x015C50 // int
0A8C: write_memory 1@ size 2 value 0xC390 virtual_protect 1
end
end
This makes me crash as soon as the game finished to load, why?
- functionPatches.Push(Object("NAME", "SetVehicleVelocity", "OFFSET", 0x015030, "PATCH", 0xC390))