Merge pull request #1504 from Kenshiin13/fix-veh-props

fix(es_extended/client/functions): properly call SetVehicleExtra
This commit is contained in:
Kenshin13
2024-11-25 15:25:30 +01:00
committed by Ilias Rbayti
parent 292cb6c4f8
commit e2ffc0808a
+1 -1
View File
@@ -1019,7 +1019,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props)
for extraId, enabled in pairs(props.extras) do
extraId = tonumber(extraId)
if extraId then
SetVehicleExtra(vehicle, extraId, enabled)
SetVehicleExtra(vehicle, extraId, not enabled)
end
end
end