01.04.2014, 18:21
On top of script
OnPlayerConnect:
When player type command for dm zone:
On Every other command:
On leave command:
OnPlayerSpawn after everything else write this:
Код:
new dm[MAX_PLAYERS];
Код:
dm[playerid] = 0;
Код:
dm[playerid] = 1;
Код:
if(dm[playerid] == 1) return SendClientMessage(playerid, -1, "Type /leave first");
Код:
dm[playerid] = 0;
Код:
if(dm[playerid] == 1) { //Teleport and give him weapon for dm zone }