Quote:
Originally Posted by Ragidon
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; }
|
Okay, I dont actually get what you mean?