Question about OnPlayerDisconnect(reason)
#1

pawn Код:
switch(reason)
    {
        case 0: format(string,sizeof string,"%s left the server. (Timed out)",name);
        case 1: format(string,sizeof string,"%s left the server. (Leaving)",name);
        case 2: format(string,sizeof string,"%s left the server. (Kicked/Banned)",name);
    }
Timed out means Crash ? when for example a player get crashed or he quits the game from Task Manager ?
Reply
#2

Yes it means a crash or a lost connection.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)