SendPlayerMessage
#6

Sure..try this

pawn Код:
public AreaCheck()
{
  for(new i = 0; i<MAX_PLAYERS; i++)
  {
   new Float:Pos[3];
   GetPlayerPos(i, Pos[0], Pos[1], Pos[2]);
   if(PlayerToPoint(1, i, thex, they, thez)) //replace "thex, they, thez" with the coordinates of the place
   {
     GameTextForPlayer(i, "You are at the special spot", 5000, 5); //or whatever message you want displayed
   }
   if(PlayerToPoint(1, i, theotherx, theothery, theotherz))
   {
     GameTextForPlayer(i, "You are at the other special spot", 5000, 5);
   }
  }
  return 1;
}
Reply


Messages In This Thread
SendPlayerMessage - by Jason_Larson - 15.03.2009, 04:36
Re: SendPlayerMessage - by Grim_ - 15.03.2009, 04:40
Re: SendPlayerMessage - by Jason_Larson - 15.03.2009, 05:12
Re: SendPlayerMessage - by Grim_ - 15.03.2009, 05:22
Re: SendPlayerMessage - by Jason_Larson - 15.03.2009, 05:57
Re: SendPlayerMessage - by Grim_ - 15.03.2009, 08:11
Re: SendPlayerMessage - by Jason_Larson - 15.03.2009, 12:17

Forum Jump:


Users browsing this thread: 2 Guest(s)