Automatic gate? - 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: Automatic gate? (
/showthread.php?tid=328733)
Automatic gate? -
petrux - 25.03.2012
.
.
.
.
Re: Automatic gate? -
ReneG - 25.03.2012
You would add an if() statement to check if the player is near the gate using
IsPlayerInRangeOfPoint
Re : Automatic gate? -
petrux - 25.03.2012
Thanks , It's work !
Now, How to make the gate does not split?
Thanks !
Re: Automatic gate? -
ReneG - 25.03.2012
It might be either your coordinates for the new object's position, or it could be a problem with your streamer. Try upgrading to Incognito's Streamer Plugin v2.6 and re-compile your script. See if that fixes, if not, then just double check the MoveObject's coords.
Re : Automatic gate? -
petrux - 28.03.2012
I Don't know why, but now , It work oO
Thank you !