Freeze until bank rob ends
#1

dump
Reply
#2

dump
Reply
#3

TogglePlayerControllable is what you need to add in both the command and the function.

https://sampwiki.blast.hk/wiki/Function:...erControllable
Reply
#4

Quote:
Originally Posted by CuervO
Посмотреть сообщение
TogglePlayerControllable is what you need to add in both the command and the function.

https://sampwiki.blast.hk/wiki/Function:...erControllable
I can't use Pawno very well. Please do it for me, thanks.
Reply
#5

Quote:
Originally Posted by Deniz1467
Посмотреть сообщение
I can't use Pawno very well. Please do it for me, thanks.
Then how you managed to add that command?

It's very simple, add TogglePlayerControllable(playerid, false); when the player starts robbing the bank (at the command), and then TogglePlayerControllable(playerid, true); when the player finishes robbing the bank (the second function).

While frozen a player wont take any damage, by the way.
Reply
#6

dump
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)