28.07.2011, 21:31
Top of script:
OnPlayerConnect AND kill command:
When player entering the DM zone:
The lines above creates a variable which its value is 1 if the player is on Deathmatch zone or 0 if he isn't.
Now, on the teles command add:
This should work.
pawn Код:
new indm[MAX_PLAYERS];
pawn Код:
indm[playerid] = 0;
pawn Код:
indm[playerid] = 1;
Now, on the teles command add:
pawn Код:
if(indm[playerid]) return SendClientMessage(playerid,0xff0000ff,"You cannot use this command on this area, use /kill to quit");
