21.08.2012, 20:01
hmm,
PHP код:
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
switch(reason)
{
case 0: format(string, sizeof string, "%s has left the server. (Crash)", pName);
case 1: format(string, sizeof string, "%s has left the server. (Exit the game)", pName);
case 2: format(string, sizeof string, "%s has left the server. (Kicked/Banned)", pName);
}
SendClientMessageToAll(white, string);