Getting the server to detect how many players are on and denying access if there are less than 10...
#2

Код:
new players;
for(new i; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i)) players++;
}
if(players < 10) return SendClientMessage(playerid,COLOR,"There are less than 10 players so this will not be given to you");
Reply


Messages In This Thread
Getting the server to detect how many players are on and denying access if there are less than 10... - by cloudysky - 31.05.2012, 21:11
Re: Getting the server to detect how many players are on and denying access if there are less than 10... - by kaisersouse - 31.05.2012, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)