[Ajuda] Vontade Propria, Crash,Kick,Net caiu
#3

na nova versгo do samp, tem a funзгo
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;
}
Reply


Messages In This Thread
Vontade Propria, Crash,Kick,Net caiu - by luccagomes15 - 25.05.2014, 03:55
Re: Vontade Propria, Crash,Kick,Net caiu - by Petrick™ - 25.05.2014, 04:07
Re: Vontade Propria, Crash,Kick,Net caiu - by MatheusDalZot - 25.05.2014, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)