Force Save On Kick
#2

OnPlayerDisconnect is always called...case 2 of onplayerdisconnect is kicked/banned, you could do something with that...I'm not sure what you're trying to do though since saving when they disconnect should always happen unless you change it...like...

pawn Код:
new str[128];
switch(reason)
{
    case 0: format(str, sizeof(str), "{00CCCC}Leave:{993300} %s[%d] has left the server! (Timeout)", Name(playerid), playerid, reason);
    case 1: format(str, sizeof(str), "{00CCCC}Leave:{993300} %s[%d] has left the server! (Leaving)", Name(playerid), playerid, reason);
    case 2:
    {
        //we can do some stuff if you need
    }
}
Reply


Messages In This Thread
Force Save On Kick - by Abreezy - 16.01.2012, 01:37
Re: Force Save On Kick - by [ABK]Antonio - 16.01.2012, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)