SA-MP Forums Archive
I have a little question - 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: I have a little question (/showthread.php?tid=313384)



I have a little question - Join7 - 25.01.2012

Can you do when you spawn a boat to check whether the boat spawn in water (if on land, to write 'error'). I mean to spawn only in water, not land. (Script)


Re: I have a little question - jamesbond007 - 25.01.2012

check vehicle's Z position? i dont think there is other way...


Re: I have a little question - Join7 - 25.01.2012

I do not know. What is the water Z?


Re: I have a little question - milanosie - 25.01.2012

Go check it out.. place an object in the map editor on the water, and get the coordinates