All pastes #813874 Raw Edit

Miscellany

public cpp v1 · immutable
·published 2007-12-12 21:20 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);      }   }