Server Reach Player(FS)
#4

Код:
new playersJoined; 

public OnPlayerConnect(playerid) { 

    if(++playersJoined >= 20)
    {
		new string[128];
		format(string, sizeof(string), "Now player reached at %d players", playersJoined);
		SendClientMessage(playerid, -1, string);
		//Your other code give player money and bla bla bla as you want.
    } 
    return true; 
} 

public OnPlayerDisconnect(playerid, reason) { 

    playersJoined --; 
    return true; 
}
Reply


Messages In This Thread
Server Reach Player(FS) - by Seyed - 01.10.2017, 17:28
Re: Server Reach Player(FS) - by Seyed - 02.10.2017, 03:13
Re: Server Reach Player(FS) - by MasterCodez - 02.10.2017, 04:45
Re: Server Reach Player(FS) - by Dayrion - 02.10.2017, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)