From 0cd51578132c1cd475347eeaeb3e4bdb64e6cc5d Mon Sep 17 00:00:00 2001 From: xSamiVS Date: Sat, 2 Mar 2024 17:35:25 +0100 Subject: [PATCH] Fixed GetVehicleColours Changed GetVehicleColor to GetVehicleColours. GetVehicleColor: Get RGB Color. GetVehicleColours: Get Primary & Secondary Color. --- client/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/utils.lua b/client/utils.lua index 46e8ae01..eb9d59cc 100644 --- a/client/utils.lua +++ b/client/utils.lua @@ -52,7 +52,7 @@ end ---@param vehicle string ---@return string local function getVehicleColor(vehicle) - local vehicleColor1, vehicleColor2 = GetVehicleColor(vehicle) + local vehicleColor1, vehicleColor2 = GetVehicleColours(vehicle) local color1 = Config.Colors[tostring(vehicleColor1)] local color2 = Config.Colors[tostring(vehicleColor2)]