Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new string[180], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s has left the server due lost connection.", pname);
- case 1: format(string, sizeof(string), "%s has left the server.", pname);
- case 2: format(string, sizeof(string), "%s has left the server due closed connection.", pname);
- }
- SendClientMessageToAll(COLOR_MES, string);
Advertisement
Add Comment
Please, Sign In to add comment