QUESTION: REP++ and NEED FAST!!!
#1

OnPlayerDisconnect is included in Kick(playerid); ?
I ask this because i am setting to 0 a variable on every kick(playerid)
Reply
#2

Yes, Kick(playerid); will call OPDisconnect.
Reply
#3

Try this

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(reason == 3) SendClientMessage(playerid, -1, "You were kicked/banned.");

    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)