mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Fixed setting vehicle pearlescent color
Co-Authored-By: Daniel Hawton <daniel@hawton.org> Co-Authored-By: ChainTastic <chaintastic@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Hawton
ChainTastic
parent
fde5571b43
commit
77e810ce95
@@ -765,7 +765,7 @@ ESX.Game.SetVehicleProperties = function(vehicle, props)
|
||||
if props.color1 then SetVehicleColours(vehicle, props.color1, colorSecondary) end
|
||||
if props.color2 then SetVehicleColours(vehicle, props.color1 or colorPrimary, props.color2) end
|
||||
if props.pearlescentColor then SetVehicleExtraColours(vehicle, props.pearlescentColor, wheelColor) end
|
||||
if props.wheelColor then SetVehicleExtraColours(vehicle, pearlescentColor, props.wheelColor) end
|
||||
if props.wheelColor then SetVehicleExtraColours(vehicle, props.pearlescentColor or pearlescentColor, props.wheelColor) end
|
||||
if props.wheels then SetVehicleWheelType(vehicle, props.wheels) end
|
||||
if props.windowTint then SetVehicleWindowTint(vehicle, props.windowTint) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user