mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
fix for Xenon lights color not set when retrieve from the garage
Added new native and fixed a call for a non exist json parameter.
This commit is contained in:
@@ -576,8 +576,8 @@ QBCore.Functions.SetVehicleProperties = function(vehicle, props)
|
||||
ToggleVehicleMod(vehicle, 22, props.modXenon)
|
||||
end
|
||||
|
||||
if props.modXenonColor ~= nil then
|
||||
SetVehicleXenonLightsColour(vehicle, props.modXenonColor)
|
||||
if props.xenonColor ~= nil then
|
||||
SetVehicleXenonLightsColor(vehicle, props.xenonColor)
|
||||
end
|
||||
|
||||
if props.modFrontWheels ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user