Freeze but with active keys - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Freeze but with active keys (
/showthread.php?tid=355910)
Freeze but with active keys -
Terminator3 - 01.07.2012
I make my own skin selection (without buttons like spawn etc.)
but when 0.3e was released i can't get any kay in OnPlayerKeyStateChange if player is freezed
Have some idea how to disable player moves without TogglePlayerControllable function?
AW: Freeze but with active keys -
LeOsk - 01.07.2012
don't really know what you mean but with TogglePlayerControllable its not hard
Just write:
TogglePlayerControllable(playerid,0) so he can't move
and with 1 he can
Re: Freeze but with active keys -
Terminator3 - 01.07.2012
But when i write this, enter the server and click something the OnPlayerKeyStateChange callback it's not called:/
AW: Freeze but with active keys -
LeOsk - 01.07.2012
hmm then i don't know sry
Re: AW: Freeze but with active keys -
Terminator3 - 02.07.2012
Quote:
Originally Posted by LeOsk
hmm then i don't know sry
|
....