SA-MP-Plus
SA-MP-Plus copied to clipboard
TogglePlayerFrozen issues
see: http://forum.sa-mp.com/showpost.php?p=3300911&postcount=859
also:
TogglePlayerFrozen does not seem to work on bikes (wtf)
to fix this probably should just re-code the whole thing instead of relying on a poorly documented public memory address, should try ignoring all keyboard input instead.
0x541C98 - address of function that sets keys down, should have it ignore input when "frozen" instead maybe?
That should do it, but make sure you don't block keys such as ESC and so on. Also make sure that the function gets called when the controller settings are set for joypad; maybe GTA SA uses a different function to handle joypad inputs.