mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 17:23:31 +00:00
Merge pull request #729 from JonasDev99/patch-1
Fixed wrong type SetVehicleProperties / SetVehicleDoorBroken
This commit is contained in:
@@ -685,7 +685,7 @@ function QBCore.Functions.SetVehicleProperties(vehicle, props)
|
||||
if props.doorStatus then
|
||||
for doorIndex, breakDoor in pairs(props.doorStatus) do
|
||||
if breakDoor then
|
||||
SetVehicleDoorBroken(vehicle, doorIndex, true)
|
||||
SetVehicleDoorBroken(vehicle, tonumber(doorIndex), true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user