24.11.2012, 16:49
On Top of your script :
I think this will help you
Код:
new ExitTimer[MAX_PLAYERS];
Код:
COMMAND:exit( playerid, params[ ] ) { if(DM[playerid] == true) { SetPlayerPos(playerid, 397.5430, -1804.3560, 8.9000); SendClientMessage(playerid, 0xFF000090, "You exit from DM zone."); ResetPlayerWeapons(playerid); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); DM[playerid] = false; SetTimerEx("ExitTimer", 5000, false); }