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.