Derpy Posted March 9, 2015 Posted March 9, 2015 Hi! I want to get position left,right,front and behind of player(5 units distance) but i am not sure how to do it. considering the x,y,z element position i can't just randomly get coordinates like x+5 or y-5 etc x depends whether player is moving east/west y depends whether player is moving north/south z depends on height so how can i correctly get left,right,front and behind the player?
xXMADEXx Posted March 9, 2015 Posted March 9, 2015 Not sure, but try using this function: https://wiki.multitheftauto.com/wiki/Ge ... ceRotation The Ultimate Lua Tutorial! | MTA PHP SDK
Gallardo9944 Posted March 10, 2015 Posted March 10, 2015 getElementMatrix The page of the function includes useful functions which will help you. Code Debugger - Minimalistic MTA debug line replacement
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