after learn what to do exactly with examples?
#4

Yes, for example:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  new a = playerid; // you here declare the variable 'a' to be playerid.
  if(a == 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)