mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-13 01:03:56 +00:00
fix(client/vehicleProperties): SetVehicleExtra takes bool
This commit is contained in:
1 parent
dbfb0227aa
commit
c0ee1ae2f8
1 file changed
+2
-2
@@ -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