25.05.2014, 13:58
na nova versгo do samp, tem a funзгo
Aqui
Aqui
pawn Код:
public OnPlayerDisconnect(playerid, reason) // reason no caso й o motivo
{
new szString[64], playerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
switch(reason)
{
case 0: format(szString, sizeof szString, "%s saiu do servidor. (Crash)", playerName);
case 1: format(szString, sizeof szString, "%s saiu do servidor. (Vontade prуpria)", playerName);
case 2: format(szString, sizeof szString, "%s saiu do servidor. (Kickado/Banido)", playerName);
};
SendClientMessageToAll(0xC4C4C4FF, szString);
return 1;
}