13.02.2010, 17:35
Could give me a system for when you are 50 players online, send a message to the server:
50 Online games mortal congratulations!
50 Online games mortal congratulations!
new onlineplayers = 0;
public OnPlayerConnect(playerid)
{
onlineplayers++;
if(onlineplayers == 50) { return SendClientMessageToAll(0xFFFF00FF,"50 Online games mortal congratulations!"); }
return 1;
}
)
public OnPlayerDisconnect(playerid)
{
onlineplayers--;
return 1;
}
)