Move Object Help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Move Object Help (
/showthread.php?tid=223005)
Move Object Help -
tzeny - 08.02.2011
Hi, I made some automatic gates but when you aproach them they do not work. Can you tell me why? I put it on Pastebin for syntax highlighting and easier reading and understanding:
http://pastebin.com/ayZR5sg5.
Thanks in advance,
Tzeny
Re: Move Object Help -
Stigg - 08.02.2011
Are you in the correct skin to activate the gates ?
Peace...
Re: Move Object Help -
tzeny - 08.02.2011
Yea, I am in skin 287, army
Re: Move Object Help -
MadeMan - 08.02.2011
Check the parameters of IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
pawn Код:
if(IsPlayerInRangeOfPoint(i, 1494.73, -2503.05, 16.20, 15.0))
should be
pawn Код:
if(IsPlayerInRangeOfPoint(i, 15.0, 1494.73, -2503.05, 16.20))
Re: Move Object Help -
tzeny - 09.02.2011
I can't belive I missed that. Thanks a lot!