Detecting a Timeout/Crash
#1

When I want to show the message of the reason he disconnected by that's alright but I want to do something like this and it doesn't work.

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(reason == 0) // Timeout/Crash
    {
        myVar = 1;
    }
    return 1;
}
Does it work like that? I've went on the wiki and it didn't state anything about this.

Cheers.
Reply


Messages In This Thread
Detecting a Timeout/Crash - by DaniceMcHarley - 27.02.2015, 08:41
Re: Detecting a Timeout/Crash - by SickAttack - 27.02.2015, 08:49
Re: Detecting a Timeout/Crash - by DaniceMcHarley - 27.02.2015, 08:50
Re: Detecting a Timeout/Crash - by SickAttack - 27.02.2015, 08:55
Re: Detecting a Timeout/Crash - by CalvinC - 27.02.2015, 09:24
Re: Detecting a Timeout/Crash - by DaniceMcHarley - 27.02.2015, 09:39
Re: Detecting a Timeout/Crash - by Threshold - 27.02.2015, 10:39
Re: Detecting a Timeout/Crash - by SickAttack - 27.02.2015, 14:23
Re: Detecting a Timeout/Crash - by kyriakos587 - 28.02.2015, 23:29
Re: Detecting a Timeout/Crash - by maramizo - 28.02.2015, 23:43

Forum Jump:


Users browsing this thread: 1 Guest(s)