after learn what to do exactly with examples?
#2

Let's say you want to check if playerid 5 disconnects from the server, you'd use something like this:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  if(playerid == 5)
  {
   print("the player who disconnected had the id 5");
  }
  else
  {
   print("the player who disconnected didn't have the id 5");
  }
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)