VE Lua Documentation

Press F to search!

setAllPartPaints

Definition


-- @/lua/vehicle/partCondition.lua:356

local function setAllPartPaints(paints, paintOdometer)
  for partId, _ in pairs(activeParts) do
    setPartPaints(partId, paints, paintOdometer)
  end
end

Callers

@/lua/ge/extensions/career/modules/painting.lua
  else
    vehicleObject:queueLuaCommand(string.format("partCondition.setAllPartPaints(%s, 0)", serialize(chosenPaints)))
  end