27.02.2015, 09:24
I'd recommend using a switch
This example will return the correct values.
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
switch(reason)
{
case 0: // Timeout / Crashed
case 1: // Left
case 2: // Kicked / Banned
}
return 1;
}

