Tomc0 Posted October 31, 2012 Share Posted October 31, 2012 Hello! I have a little question... Is it possible to move a car like this? local auto = createVehicle( 470, 135, 1953.8000488281, 19.5 ) function MoveAuto() moveObject( auto, 10000, 123.40000152588, 2403.3999023438, 16.60000038147 ) end Link to comment
Dev Posted October 31, 2012 Share Posted October 31, 2012 'moveObject' can only be used to move elements of 'object' type, not 'vehicles' or 'peds'. Link to comment
DakiLLa Posted October 31, 2012 Share Posted October 31, 2012 1) Create any object (better something collision-less) and make it invisible (setElementAlpha) 2) Attach your vehicle to that object 3) Use moveObject function on that object. 2 Link to comment
Tomc0 Posted October 31, 2012 Author Share Posted October 31, 2012 Thank you, DakiLLa and Dev! 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