Skip to content

Commit

Permalink
Optional background color for the color list
Browse files Browse the repository at this point in the history
Needs this PR for qb-input: qbcore-framework/qb-input#32
  • Loading branch information
Borreke0 authored Nov 18, 2023
1 parent abe5b2c commit 6836c6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/cosmetic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ local function GetPaints(category)
for i = 1, #Config.Paints[category] do
Paints[#Paints + 1] = {
value = Config.Paints[category][i].id,
text = Config.Paints[category][i].label
text = Config.Paints[category][i].label,
bgcolor = '#' .. Config.Paints[category][i].hex
}
end
return Paints
Expand Down

0 comments on commit 6836c6c

Please sign in to comment.