All pastes #813869 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-12-12 21:17 UTC
rendered paste body
new string[256];
	GetPlayerName(playerid, playername, sizeof(playername));
  switch (reason)

   {
    case 0:
     {
      GetPlayerName(playerid, playername, sizeof(playername));
      format(string,sizeof(string), "%s has left the server (Timeout)", playername);
      SendClientMessageToAll(COLOR_GREEN, string);
      printf(string);

   }
   case 1:
    {
      GetPlayerName(playerid, playername, sizeof(playername));
      format(string,sizeof(string), "%s has left the server (Leaving)", playername);
      SendClientMessageToAll(COLOR_GREEN, string);
      printf(string);

   }
   case 2:
    {
      GetPlayerName(playerid, playername, sizeof(playername));
      format(string,sizeof(string), "%s has left the server (Kicked)", playername);
      SendClientMessageToAll(COLOR_GREEN, string);
      printf(string);

      }
   }