17.04.2015, 18:07
I dont get you...
if you mean you want to limit access to 10 players for something.
Have a variable on top of the gamemode that will count the amount of players inside:
And then add 1 when some one make it to there:
And then minus 1 when someone exits...
And then when the player is joining the evac, Do this:
if you mean you want to limit access to 10 players for something.
Have a variable on top of the gamemode that will count the amount of players inside:
pawn Код:
new playersInsideEvac;
pawn Код:
playersInsideEvac ++;
pawn Код:
playersInsideEvac --;
pawn Код:
if(playersInsideEvac == 10) return SendClientMessage(playerid, -1, "There is 10 players inside already.");