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
|
||||
|
||||
if props.extras then
|
||||
for id, state in pairs(props.extras) do
|
||||
SetVehicleExtra(vehicle, id, state)
|
||||
for id, disable in pairs(props.extras) do
|
||||
SetVehicleExtra(vehicle, id, disable == 1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user