Open zek0 opened 5 years ago
yep same issue
I change the cablecar.state from ‘IDLE’ to ‘MOVE_TO_IDLE_BOTTOM’ Line 360.
-- Check if we've reached the bottom again
if cablecar.gradient <= 1 then
-- Set to raw idle to do nothing and ask the server to sync cars
cablecar.state = "MOVE_TO_IDLE_BOTTOM"
cablecar.gradient_distance = 0.0
TriggerServerEvent("omni:cablecar:host:sync", cablecar.index, "IDLE_BOTTOM")
return
end
I change the cablecar.state from ‘IDLE’ to ‘MOVE_TO_IDLE_BOTTOM’ Line 360.
-- Check if we've reached the bottom again if cablecar.gradient <= 1 then -- Set to raw idle to do nothing and ask the server to sync cars cablecar.state = "MOVE_TO_IDLE_BOTTOM" cablecar.gradient_distance = 0.0 TriggerServerEvent("omni:cablecar:host:sync", cablecar.index, "IDLE_BOTTOM") return end
this worked, thank you for posting
Hello! In OneSync the isssue with exit from cab in last station. Infinite attached to entity. It is possible fix this.
Thank you for script.