Unable To Do Commands while caged
#2

do this.
Код:
new caged[MAX_PLAYERS];
^^^ Top of script


onplayerspawn put:
Код:
caged[playerid] = 0;
on the command, to the person your put on the code.
Код:
caged[playerid] = 1;
and on the top of the command, right below your exocution line ( /command )
Код:
if(caged[playerid] == 1) return GameTextForPlayer(playerid,"You are caged!!",5000,4);
Reply


Messages In This Thread
Unable To Do Commands while caged - by JustinB - 08.04.2010, 23:47
Re: Unable To Do Commands while caged - by -Rebel Son- - 09.04.2010, 02:43
Re: Unable To Do Commands while caged - by cessil - 09.04.2010, 03:01

Forum Jump:


Users browsing this thread: 1 Guest(s)