mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
refactor(client/vehicleProperties): disable SetVehicleAutoRepairDisabled
People can just call this themselves. Sick of complaints about extras.
This commit is contained in:
@@ -298,7 +298,7 @@ function lib.setVehicleProperties(vehicle, props, fixVehicle)
|
|||||||
local pearlescentColor, wheelColor = GetVehicleExtraColours(vehicle)
|
local pearlescentColor, wheelColor = GetVehicleExtraColours(vehicle)
|
||||||
|
|
||||||
SetVehicleModKit(vehicle, 0)
|
SetVehicleModKit(vehicle, 0)
|
||||||
SetVehicleAutoRepairDisabled(vehicle, true)
|
-- SetVehicleAutoRepairDisabled(vehicle, true)
|
||||||
|
|
||||||
if props.extras then
|
if props.extras then
|
||||||
for id, disable in pairs(props.extras) do
|
for id, disable in pairs(props.extras) do
|
||||||
|
|||||||
Reference in New Issue
Block a user