Crash teleport
#1

How i can check if the player quit from the game or just get crash?
Reply
#2

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
   switch(reason)
   {
      case 0: { } // They crashed (timeout)
      case 1: { } // They left
      case 2: { } // They were script kicked (like /kick or /ban)
   }
   return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)