PaiN^ Posted March 23, 2013 Posted March 23, 2013 HI, Can i use getElementPosition to get an object position ? If not, Then how can i ? Thank you in advanced ..
iPrestege Posted March 23, 2013 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 );
EstrategiaGTA Posted March 23, 2013 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.
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