17.05.2010, 17:55
At the top:
In OnPlayerCommandText
Код:
new dm3;// to count players joined.
Код:
if(strcmp("/pm", cmdtext, true) == 0) { if(dm3 == 0) { dm3++; // make player teleport to deathmatch } if(dm3 == 2) { SendClientMessage(playerid, COLOR, "The deathmatch is full. You have to wait."); } return 1; }