Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, 0xF20707, "Welcome to <Servername> for more info on commands do /help");
- SendClientMessage(playerid 0xF20707, "If you have any problems do /report or for any server related questions please do /n");
- playersconnected++;
- new string[128];
- format(string, sizeof(string), "There are currently %d people in the server.", playersconnected);
- SendClientMessageToAll(0xF2D707, string);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- playersconnected--;
- new string[128];
- format(string, sizeof(string), "There are currently %d people in the server.", playersconnected);
- SendClientMessageToAll(0xF2D707, string);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment