PaiN^ Posted March 23, 2013 Share Posted March 23, 2013 HI, Can i use getElementPosition to get an object position ? If not, Then how can i ? Thank you in advanced .. Link to comment
iPrestege Posted March 23, 2013 Share Posted March 23, 2013 Yes You Can Do Some Thing Like That : local object = createObject (....); addCommandHandler("objectPos", function ( ) local x,y,z = getElementPosition ( object ); outputChatBox(" Object Pos : "..x.." , "..y.." , "..z.." ",255,0,0,true); end ); Link to comment
EstrategiaGTA Posted March 23, 2013 Share Posted March 23, 2013 HI,Can i use getElementPosition to get an object position ? If not, Then how can i ? Thank you in advanced .. Yes, you can. If you read the Wiki, it says the objects that you can use. Link to comment
EstrategiaGTA Posted March 23, 2013 Share Posted March 23, 2013 Thanx guys You're welcome... 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