GTX Posted May 4, 2015 Posted May 4, 2015 Hi, how can I calculate position right above the vehicle highly accurately? Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
xXMADEXx Posted May 4, 2015 Posted May 4, 2015 Just get the position of the vehicle (getElementPosition) and add to the Z. Ex: local veh = createVehicle ( 411, 5, 353.56, 265.265 ); local x, y, z = getElementPosition ( veh ); z = z + 2; The Ultimate Lua Tutorial! | MTA PHP SDK
GTX Posted May 4, 2015 Author Posted May 4, 2015 Nah, I need it more accurate or names will bug into vehicle. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
xXMADEXx Posted May 4, 2015 Posted May 4, 2015 Nah, I need it more accurate or names will bug into vehicle. I don't know how you would get more accurate than exact... The Ultimate Lua Tutorial! | MTA PHP SDK
WhoAmI Posted May 4, 2015 Posted May 4, 2015 He probably means that some vehicles are much higher than others, which can cause that text is inside vehicle.
GTX Posted May 4, 2015 Author Posted May 4, 2015 Yeah, exactly. Got solution anyways: getElementBoundingBox. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now