21.03.2011, 06:55
Create a new variable, At the top:
new AirDM;
add to your /airdm command:
Change the '5' to the max ammount of people aloud to join it.
Then you will need to put a timer on it, and at the end of the timer, teleport the players back out of the minigame, and remember to set AirDM to 0
new AirDM;
add to your /airdm command:
pawn Код:
AirDM ++;
if(AirDM == 5) return SendClientMessage(playerid,COLOR,"Sorry this minigame already has a max amount of people");
Then you will need to put a timer on it, and at the end of the timer, teleport the players back out of the minigame, and remember to set AirDM to 0