SA-MP-Plus icon indicating copy to clipboard operation
SA-MP-Plus copied to clipboard

TogglePlayerFrozen issues

Open Whitetigerswt opened this issue 10 years ago • 1 comments

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?

Whitetigerswt avatar Dec 29 '14 05:12 Whitetigerswt

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.

GtakillerIV avatar Dec 29 '14 22:12 GtakillerIV