mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/vehicleProperties): SetVehicleExtra takes bool
This commit is contained in:
@@ -349,8 +349,8 @@ function lib.setVehicleProperties(vehicle, props)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if props.extras then
|
if props.extras then
|
||||||
for id, state in pairs(props.extras) do
|
for id, disable in pairs(props.extras) do
|
||||||
SetVehicleExtra(vehicle, id, state)
|
SetVehicleExtra(vehicle, id, disable == 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user