30.07.2011, 18:40
Код:
public OnPlayerDisconnect(playerid, reason) { GetPlayerName(playerid, Nome[playerid], 24); switch(reason) { case 0: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas (Crash)", Nome[playerid]); case 1: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas", Nome[playerid]); case 2: format(stringa, sizeof stringa, "%s и uscito da Italian Las Venturas (Kickato/Bannato)", Nome[playerid]); } SendClientMessageToAll(-1, stringa); // if (reason == 2) PlayCrimeReportForPlayer(playerid, playerid, 3); return 1; }