[Help] Freeze = no command
#1

I want make a command, and i want when player is freeze (toogleplayercontrolabe(playerid, toggle), he can't make that cmd... I already try by many ways and i can't, plz help me
Reply
#2

Its spelled TogglePlayerControllable(playerid,toggle);
Reply
#3

That don't answer at my question
Reply
#4

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

That block all commands? I want block just 1 command lol
Reply
#6

Bump


ps and i want put that if player is freeze, not in command /freeze
Reply
#7

do what he said... and the part of " OnPlayerCommand " make it in the command
Reply
#8

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

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)