P.Wiśnia Posted June 26, 2020 Share Posted June 26, 2020 (edited) Hi, I have a script for moving vehicles (salon), only he has one problem. If I reset the script and I am alone, there is no cut, but after re-entering the server there are cuttings. The script is on the server and looks like this: infernus = createVehicle(411,0,0,0) local objekt=createObject(2034,0,0,0) setElementAlpha(objekt,0) setElementCollisionsEnabled(objekt,false) attachElements(infernus,objekt,0,0,0) setVehicleEngineState(infernus,false) function mainFunction() moveObject(objekt,6000,1,0,0) end mainFunction() However, if I move away from the vehicle and approach it again, there are no cuts. Edited June 26, 2020 by Patrick codeblock 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