This commit is contained in:
FullGas1
2025-03-23 17:03:37 +01:00
parent 61d9e206b2
commit 111fd73b94
+5 -1
View File
@@ -2083,7 +2083,11 @@ function ctld.repackVehicle(_params,t) -- scan rrs table 'repackRequestsStack'
ctld.repackRequestsStack[ii] = nil ctld.repackRequestsStack[ii] = nil
end end
end end
return 3 -- reschedule the function in 3 seconds if ctld.enableRepackingVehicles == true then
return t + 3 -- reschedule the function in 3 seconds
else
return nil --stop scheduling
end
end end
--[[ *************************************************************** --[[ ***************************************************************
function ctld.repackVehicle_old(_params) function ctld.repackVehicle_old(_params)