SA-MP Forums Archive
Correct Kords? - 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: Correct Kords? (/showthread.php?tid=194886)



Correct Kords? - [Evo]FREAK - 30.11.2010

Hi
I have a question

i will make the neon light on under my car 2 times and how i can find the correct Kordination ?

pls help me :S


Re: Correct Kords? - Mauzen - 30.11.2010

Afaik from all the data i collected once, y_offset=0 is the mid between the front and back wheel for all normal vehicles. So make the y offset around 0.5/-0.5, dont know how big the lights are exactly.
x_offset=0 is the mid of the car of course, so sth between 0.9 and 1.2 (-0.9, -1.2) should be fine for the most cars.
z_offset=0 is hard to define generally. For sport vehicles it should be something slightly under 0.0.

With those values you should have a good base to play around with. Just make a cmd that adds a light, if you can with the x/y/z offset as parameters.
Most sport vehicles have similar dimensions, so there is not much to change if you want to attach lights to different models.


Re: Correct Kords? - Johndaonee - 30.11.2010

Since this is a topic about coords, how do i attach snow to a players screen so it wont bug?