Freeze but with active keys
#1

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?
Reply
#2

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
Reply
#3

But when i write this, enter the server and click something the OnPlayerKeyStateChange callback it's not called:/
Reply
#4

hmm then i don't know sry
Reply
#5

Quote:
Originally Posted by LeOsk
Посмотреть сообщение
hmm then i don't know sry
....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)