mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-26 12:54:45 +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
|
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