Enable/Disable commands
#2

at the top of your script:
pawn Code:
new Teled[MAX_PLAYERS];
Add to the top of all your commands you want the player not to do:
pawn Code:
if(Teled[playerid] == 1) return SendClientMessage(playerid,COLOR,"Text...");
Add to your teleport command:
pawn Code:
Teled[playerid] = 1;
Reply


Messages In This Thread
Enable/Disable commands - by JoshTheBoss - 30.05.2009, 21:11
Re: Enable/Disable commands - by miokie - 30.05.2009, 22:35
Re: Enable/Disable commands - by JoshTheBoss - 31.05.2009, 09:02

Forum Jump:


Users browsing this thread: 1 Guest(s)