[Problem] (isplayerinrangeofpoint) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Problem] (isplayerinrangeofpoint) (
/showthread.php?tid=596348)
[Problem] (isplayerinrangeofpoint) -
lordmahdi - 16.12.2015
Hi
my code is
Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0,-820.0316, 1577.5225, 27.2307))
{
MoveObject(gate, -821.0316, 1577.5225, 27.2307, 4);
}
No error but not working please help
Re: [Problem] (isplayerinrangeofpoint) -
Sheperc - 16.12.2015
Try this:
Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0,-820.0316, 1577.5225, 27.2307))
{
MoveObject(gate, -821.0316, 1577.5225, 27.2307, 4);
}
also in what callback did you use it