Charlie_Jefferson Posted March 20, 2012 Share Posted March 20, 2012 Is there a way of getting the position of the vehicle's signal spots, like IRL, where the vehicle make those flashing lights, when going to the right or to the left? Link to comment
Moderators IIYAMA Posted March 20, 2012 Moderators Share Posted March 20, 2012 https://wiki.multitheftauto.com/wiki/GetElementPosition https://wiki.multitheftauto.com/wiki/GetVehicleRotation Link to comment
DiSaMe Posted March 20, 2012 Share Posted March 20, 2012 If the script is client-side, you can also use getElementMatrix instead of getVehicleRotation. But if you don't need to do anything special, just put a light in that position, you don't need to calculate it. Attaching the element with attachElements is enough. Keep in mind, however, that in all these cases you need to set offset coordinates yourself. You can't get them from the game. Link to comment
Charlie_Jefferson Posted March 21, 2012 Author Share Posted March 21, 2012 I know. Will take a lot though. Link to comment
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