14.01.2011, 14:26
On top of your script put this:
Put this under your /dm command:
Then for teleports or any other commands
Then for /quit add this:
Hope I helped.
For the reset use
(I believe?)
pawn Код:
new CanExecuteCommand[MAX_PLAYERS] = 0;
Put this under your /dm command:
pawn Код:
CanExecuteCommand[playerid] = 1;
Then for teleports or any other commands
pawn Код:
if(CanExecuteCommands[playerid] == 1) return Do_Something
Then for /quit add this:
pawn Код:
CanExecuteCommand[playerid] = 0;
Hope I helped.
For the reset use
pawn Код:
RemovePlayerWeapons