Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- client side fix for issue 1655 (trailer desync) crashes with towtruck
- addEventHandler("onClientElementStreamIn",root,function()
- if getElementType( source ) == "vehicle" then
- local trailer = getVehicleTowedByVehicle(source)
- if trailer then
- outputDebugString("REATTACHING",3)
- detachTrailerFromVehicle(source)
- attachTrailerToVehicle(source,trailer)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement