Posts: 995
Threads: 71
Joined: Jul 2008
Reputation:
0
Its spelled TogglePlayerControllable(playerid,toggle);
Posts: 1,047
Threads: 23
Joined: Jun 2009
make in the freeze cmd a variable like CannotUseCommands[tmpplayer] = 1;
at top CannotUseCommands[MAX_PLAYERS];
at connect CannotUseCommands[playerid] = 0;
in onplayercommandtext
if(CannotUseCommands[playerid] == 1)return sendclientmessage(bla,bla ,"shuth up you cannot use commands");
fixed? let me know :P
Posts: 164
Threads: 30
Joined: May 2008
Reputation:
0
That block all commands? I want block just 1 command lol
Posts: 164
Threads: 30
Joined: May 2008
Reputation:
0
Bump
ps and i want put that if player is freeze, not in command /freeze
Posts: 415
Threads: 51
Joined: Oct 2007
Reputation:
0
do what he said... and the part of " OnPlayerCommand " make it in the command
Posts: 164
Threads: 30
Joined: May 2008
Reputation:
0
That is not what I want ... I have a few vehicles in GM which to enter the doll is frozen and I need that in this case, it can not do 1 command that I have the GM, but all others, must do :S