Kick/Ban
#3

Save the variable before kick...

pawn Код:
CMD:kicktest(playerid) // Only an exemple
{
    Kicked[playerid] = true;
    Kick(playerid);
    return 1;
}
Also, reason 2 at OnPlayerDisconnect, means kick or banned.

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(reason == 2) SendClientMessageToAll(-1,"A bitch got kicked or banned off from the server.");
    return 1;
}
Reply


Messages In This Thread
Kick/Ban - by UnknownGamer - 22.01.2013, 11:28
Re: Kick/Ban - by Threshold - 22.01.2013, 11:31
Re: Kick/Ban - by arakuta - 22.01.2013, 11:39
Re: Kick/Ban - by Mado - 22.01.2013, 12:11

Forum Jump:


Users browsing this thread: 1 Guest(s)