Skip to content

Commit

Permalink
Merge pull request #1504 from Kenshiin13/fix-veh-props
Browse files Browse the repository at this point in the history
fix(es_extended/client/functions): properly call SetVehicleExtra
  • Loading branch information
Kenshiin13 authored Nov 25, 2024
2 parents 1d330db + 4fb1ac0 commit cdfe24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdfe24d

Please sign in to comment.