Posts: 19
Threads: 3
Joined: Oct 2007
Reputation:
0
Is it possible to make a function TogglePlayerControllable (playerid, 0), so that it is not froze the player, but only took up management, a lot of mistakes and shortcomings due to the frosts. A freeze the player's team FreezePlayer (playerid, 1);?
Posts: 1,896
Threads: 102
Joined: Oct 2008
Posts: 143
Threads: 16
Joined: Mar 2009
Reputation:
0
The player won't be able to move.
Posts: 108
Threads: 0
Joined: Oct 2007
Reputation:
0
I think that he means disabling disabling/enabling all controls.
Posts: 143
Threads: 16
Joined: Mar 2009
Reputation:
0
Yes. What About: TogglePlayerControlAble(playerid,[on or off],[able to loose health: true or false]);
Posts: 1,896
Threads: 102
Joined: Oct 2008
SetPlayerHealth(playerid, 99999);
SetPlayerHealth(playerid, 100);
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
Just set a standing still animation, I use the one in the WUZI library. They can still fall and get hurt or be pushed by a vehicle, but they can't control the character.
Posts: 143
Threads: 16
Joined: Mar 2009
Reputation:
0
How I can make it work with the crack-Anim. Want to make the player go to ground and make a rp-situation. But when I am toggle his control he can't be killed and that isn't a rp-situation any more.