Is this right?
#2

You're telling it to move to 2 places. First the hospital, then the Burger shot. Use IsPlayerInRangeOfPoint.

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

e.g.

pawn Код:
if(!strcmp("/stadium",cmdtext))
{
  if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
  {
    SendClientMessage(playerid,0xFFFFFFFF,"You are near the Stadium entrance!");
  }
  else
  {
    SendClientMessage(playerid,0xFFFFFFFF,"You are not near the Stadium entrance!");
  }
  return 1;
}
Reply


Messages In This Thread
Is this right? - by Luis- - 10.05.2010, 15:23
Re: Is this right? - by Ragidon - 10.05.2010, 15:26
Re: Is this right? - by ViruZZzZ_ChiLLL - 10.05.2010, 15:27
Re: Is this right? - by Luis- - 10.05.2010, 15:34
Re: Is this right? - by Luis- - 10.05.2010, 15:35
Re: Is this right? - by Luis- - 10.05.2010, 16:18
Re: Is this right? - by ViruZZzZ_ChiLLL - 10.05.2010, 16:20
Re: Is this right? - by Torran - 10.05.2010, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)