20.08.2011, 06:36
Quote:
I am really curious to see an example of MPProjectPointOnVehicle in a comment of the code JernejL says it could be useful to find each tire proximity. Is there an easy way to find that or how about to know a player is at the trunk (boot) of a vehicle? I was looking at this earlier and it still seems like I need a massive array to store the vehicle offsets for this or am I missing something?
|
But as you can see it returns the x y z angles, you should experiment with it
http://forum.sa-mp.com/showthread.ph...00#post1321900
you can change this Pos[2] + 0.5 * Pos[5] to and the 0.4 to get it to the tires. simple you need getvehiclesize by RyDeR`
Might I suggest maybe -0.1 and 0.35. try those, it should work with all vehicles, just adjust it to your needs