need help plz IsPlayerInRangeOfPoint not work
#2

You've made the distance so long..
pawn Код:
if(strcmp(cmd, "/makedrugs", true) == 0)
{
new Float:editor[3];
GetObjectPos(3383, editor[0], editor[1], editor[2]);
if(IsPlayerInRangeOfPoint(playerid, 0.5, editor[0], editor[1], editor[2]))
{
SendClientMessage(playerid, COLOR_RED,"ok"COL_WHITE": you near table");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED,"error"COL_WHITE": you aren't near table");
return 1;
}
}
Try this?
Reply


Messages In This Thread
need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 13:58
Re: need help plz IsPlayerInRangeOfPoint not work - by biker122 - 20.07.2014, 14:41
Re: need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 15:15
Re: need help plz IsPlayerInRangeOfPoint not work - by Metharon - 20.07.2014, 15:19
Re: need help plz IsPlayerInRangeOfPoint not work - by Mauzen - 20.07.2014, 15:41
Re: need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 16:00

Forum Jump:


Users browsing this thread: 2 Guest(s)