I just tried it and it thinks purple is red?
(the marker should actually have the same colour as the blip area (before that it still worked, so it had the right colour)
Here is the code I used:
function GetRgbFromBlip(id)
-- old method -- ;(
-- for k, v in pairs(Config.BlipToRgb) do
-- if tonumber(k) == id then
-- return v
-- end
-- end
local rgb = {}
local r,g,b,a = GetHudColour(id)
rgb[1], rgb[2], rgb[3], rgb[4] = r, g, b, a
return rgb
end
https://cdn.discordapp.com/attachments/919964850657050676/975039716535697488/unknown.png
1 Like