SupperRobin6394

Untitled

Dec 3rd, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.45 KB | None | 0 0
  1.     new string[180], pname[MAX_PLAYER_NAME];
  2.     GetPlayerName(playerid, pname, sizeof(pname));
  3.     switch(reason)
  4.     {
  5.         case 0: format(string, sizeof(string), "%s has left the server due lost connection.", pname);
  6.         case 1: format(string, sizeof(string), "%s has left the server.", pname);
  7.         case 2: format(string, sizeof(string), "%s has left the server due closed connection.", pname);
  8.     }
  9.     SendClientMessageToAll(COLOR_MES, string);
Advertisement
Add Comment
Please, Sign In to add comment