fix(es_extended/client/functions): properly call SetVehicleExtra

This commit is contained in:
Ilias Rbayti
2024-11-25 15:19:15 +01:00
parent 1d330db669
commit 4fb1ac0aa7
+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