Weapon tints in FiveM: every tint index and how to set it
Set a tint with SetPedWeaponTintIndex(ped, weaponHash, index) and read it with GetPedWeaponTintIndex. Normal weapons use indexes 0–7 (0 is the default black, 2 is gold, 3 is pink); Mk II weapons use a larger palette of 0–31. GetWeaponTintCount(weaponHash) tells you how many a weapon has.
Tints are the cheapest way to make weapons feel personal: a gold pistol for a gang leader, an LSPD-blue carbine, a pink shotgun as a joke. GTA V has two tint palettes — a short one for normal weapons and a long one for Mk II weapons — and one native sets either.

#Tints for normal weapons (0–7)
| Index | Tint |
|---|---|
| 0 | Default (black) |
| 1 | Green |
| 2 | Gold |
| 3 | Pink |
| 4 | Army |
| 5 | LSPD |
| 6 | Orange |
| 7 | Platinum |
local ped = PlayerPedId()
SetPedWeaponTintIndex(ped, `WEAPON_PISTOL`, 2) -- gold
print(GetPedWeaponTintIndex(ped, `WEAPON_PISTOL`)) -- 2#Tints for Mk II weapons (0–31)
Mk II weapons use an extended palette of 32 tints, which is why the same index gives a different colour on a Mk II gun than on its normal version. Rather than hard-coding a table that may differ between game builds, read the count and let players cycle through them in your UI:
local ped = PlayerPedId()
local weapon = GetSelectedPedWeapon(ped)
local count = GetWeaponTintCount(weapon)
local current = GetPedWeaponTintIndex(ped, weapon)
SetPedWeaponTintIndex(ped, weapon, (current + 1) % count)#Saving tints with the weapon
The game forgets tints when the player disconnects or the weapon is removed. On ox_inventory, a weapon’s metadata can hold a tint value that the inventory applies when the weapon is equipped, so the tint follows that exact weapon — through a stash, a trade or a drop. See ox_inventory metadata.
exports.ox_inventory:AddItem(source, 'WEAPON_PISTOL', 1, { tint = 2 })#Beyond tints
Tints only recolour the weapon’s material with a preset palette. For finishes, camos or your own logo on the weapon, you need components or a texture change: see Mk II camos and making a weapon skin.
Questions
What is the gold weapon tint index?
SetPedWeaponTintIndex(ped, weaponHash, 2).How many tints do Mk II weapons have?
GetWeaponTintCount(weaponHash) to check any weapon.Why did my tint reset?
Can I make custom tint colours?
Ready to pick a map?
Twelve themes on three base map styles, $8 each, instant download.
Relevant to what you just read
The tool for this
Twenty theme pairs for ox_lib and ox_inventory From $15, built in the browser, exported as a drop-in resource.
Look it up while you work
The reference tables this guide leans on, free and without an account.
- The 100 blip colour indexesEvery index SetBlipColour accepts, with the hex value the radar actually draws.
- All 860 ped model namesEvery model GetHashKey resolves, with its hash and how many clothing components and props it carries.
- The same tables as JSON and CSVFree downloads, CORS open, no account and no API key — ship the list inside your own resource instead of scraping a page.