How to Install Gun Skins in FiveM: Replace and Tint Weapons
How to install gun skins in FiveM: stream replacement gun models, add tints and finishes in ox_inventory, ESX or QBCore, and block player packs via pure mode.
- Applies to
- FiveM Legacy and FiveM for GTAV Enhanced early access (stream_enhanced folder, pure mode always on); ox_inventory v2.48.1 (October 24, 2026) on Qbox and ESX Legacy; ESX Legacy 1.16.4 (October 18, 2026); QBCore with qb-weapons (source of August 24, 2026); vMenu Enhanced on servers without a framework; PvP, racing, roleplay and every other server type
- Last verified
On this page
- Direct Answer
- Replacement skin, tint, finish or addon weapon
- How a FiveM weapon replacement works
- How to install gun skins on a FiveM server, step by step
- Weapon tints and finishes: skins without new files
- Player-installed gun skin packs and pure mode
- Image skins picked in game (runtime textures)
- How to make FiveM weapon skins
- Troubleshooting
- Next Steps
Direct Answer
To install gun skins in FiveM for everyone on your server, stream them from a resource. A replacement skin is a set of files named after a base-game weapon model, such as w_pi_pistol.ydr and w_pi_pistol.ytd for the Pistol. Put them in the resource’s stream folder next to an fxmanifest.lua, add ensure with the resource name to server.cfg, and restart. Keep one replacement pack per weapon model. For the game’s own colours and finishes, give tints (index 0 to 7, or 0 to 32 on Mk II weapons) or finish components through your inventory. On FiveM Legacy, sv_pureLevel 2 blocks every modified client file, players’ own texture packs included.
Replacement skin, tint, finish or addon weapon
“Gun skin” covers four different things in FiveM. Pick the one that matches what you want before you download anything:
| What you want | How it works | New files |
|---|---|---|
| A new look for a base-game weapon | Replacement: a model and texture streamed under the game weapon’s own name | .ydr and .ytd files in stream |
| One of the game’s colours | A tint index set on the weapon | None |
| One of the game’s finishes, such as the luxury or camo finish | A weapon component such as COMPONENT_PISTOL_VARMOD_LUXE | None |
| A second look next to the original gun | An addon weapon under its own weapon name | Model, textures and .meta files |
Addon weapons have their own guide: how to add addon weapons to FiveM covers the meta files and the inventory entries. This page covers replacements, tints and finishes, plus the player-side packs that pure mode blocks. Everything here works on every kind of server, from PvP and racing to roleplay and zombie servers; only the tint and finish steps depend on the inventory you run.
How a FiveM weapon replacement works
Every base-game weapon has a weapon name and a model name. The official Weapon Models page lists both for each weapon, together with the DLC it came from:
| Weapon | Weapon name | Model name (Model Hash Key) | DLC |
|---|---|---|---|
| Pistol | WEAPON_PISTOL | W_PI_PISTOL | core |
| Combat Pistol | WEAPON_COMBATPISTOL | W_PI_COMBATPISTOL | core |
| Pistol Mk II | WEAPON_PISTOL_MK2 | w_pi_pistolmk2 | mpgunrunning |
| Pump Shotgun | WEAPON_PUMPSHOTGUN | w_sg_pumpshotgun | core |
| Carbine Rifle | WEAPON_CARBINERIFLE | W_AR_CARBINERIFLE | core |
| Knife | WEAPON_KNIFE | w_me_knife_01 | core |
| WM 29 Pistol | WEAPON_PISTOLXM3 | W_PI_Pistol_XM3 | mpchristmas3 |
A replacement pack carries files under that model name. In a Pistol replacement posted on the Cfx.re forum, the stream folder holds w_pi_pistol.ydr, w_pi_pistol_hi.ydr, w_pi_pistol.ytd, w_pi_pistol+hi.ytd and the magazine files w_pi_pistol_mag1 and w_pi_pistol_mag2, each as .ydr and .ytd. The .ydr files are the 3D models and the .ytd files the textures.
Three rules follow from the community tutorials:
- Model and high-detail files. The melee tutorial says the models “must include .YDR, .YDT, and +hi.YTD files as shown, or the weapon will not show properly.” The forum Pistol pack above carries both
w_pi_pistol.ytdandw_pi_pistol+hi.ytd. - The name decides replacement or addon. The melee tutorial tells you to rename a model that “is named after a weapon in-game” when you want an addon. Keep the game name and the files replace the original.
- One pack per weapon model. The files take the game model’s name, so two packs for the same weapon stream the same file names. When a replacement did not load, a forum helper’s first questions included whether “any other scripts” stream these files. For a second look next to the original, rename the files into an addon weapon.
Replacements for DLC weapons need the right game build
The DLC column matters. A weapon from a DLC exists only when your server’s game build includes it. The WM 29 Pistol comes from mpchristmas3, which the Server Commands build table lists as build 2802, Los Santos Drug Wars, and every build “includes all content and changes from the builds before”. On a server that enforces an older build, a skin for that pistol has nothing to replace. Setting the build is covered in the sv_enforceGameBuild guide. FiveM for GTAV Enhanced currently supports only the latest game build, The Kortz Center Heist (build 3889), at the time of writing (December 2, 2026).
How to install gun skins on a FiveM server, step by step
These steps work on every FiveM server, with or without a framework, because streaming is handled by FXServer itself.
- Check the file names. Compare the pack’s files with the model name on the Weapon Models page. A Carbine Rifle skin should contain files that start with
w_ar_carbinerifle. Look for the_hiand+hifiles too, as in the forum Pistol pack. - Create the resource folder. Make a folder in
resources, for exampleweapon-skins, and astreamfolder inside it. The Cfx.re docs say any folder inresourcesis a resource, “except folders between [brackets] which are categories”, so you can also place it in a category such as[weapons]. - Add the manifest. Older tutorials use
__resource.lua, which the docs call the manifest’s previous name. The current file isfxmanifest.lua, and the docs mark the oldresource_manifest_versionas deprecated. These two lines from the manifest reference are enough for a pack that only streams files:
fx_version 'cerulean'
game 'gta5'
cerulean is “the current FXv2 resource version”, and gta5 means the resource “Runs on FiveM.”
4. Keep any meta file the pack ships. Some replacements also change stats. The forum Pistol pack loads an edited weaponcomponents.meta with data_file 'WEAPONCOMPONENTSINFO_FILE' to change the magazine from 12 to 17 rounds. Keep such lines as the pack’s author wrote them.
5. Start it. Add ensure weapon-skins (or ensure [weapons] for a category) to server.cfg. The docs describe ensure as a command that restarts a resource if it was started, or starts it if not.
6. Restart and read the console. FXServer prints Asset <resource>/<file> uses <size> MiB of physical memory. (or virtual memory) when a streamed file needs more than 16 MiB of either kind, and over 48 MiB it adds that “Oversized assets can and WILL lead to streaming issues”. High-resolution weapon textures can hit this; the oversized assets guide explains how to shrink them.
7. Check in game. Equip the weapon. Streamed files load on the players’ game clients, not only on yours: a forum author describes their streamed models as “properly streamed and loaded for myself and every other client”.
FiveM for GTAV Enhanced
A resource can include a stream_enhanced folder. When it is present, “its contents are loaded instead of the stream folder” on Enhanced; without it, stream is used, but that folder is deprecated on Enhanced. Put the Legacy files in stream and converted files in stream_enhanced. Alchemist, the official converter, handles YDR and YTD files among others and requires Windows 11; the Alchemist guide walks through it.
Weapon tints and finishes: skins without new files
The game already ships colours and finishes for many weapons. They need no download, and your inventory decides who gets them.
Tints are numbered. For normal weapons, SET_PED_WEAPON_TINT_INDEX takes these values:
| Index | Tint |
|---|---|
| 0 | Default/Black |
| 1 | Green |
| 2 | Gold |
| 3 | Pink |
| 4 | Army |
| 5 | LSPD |
| 6 | Orange |
| 7 | Platinum |
Mk II weapons have their own list from 0 (Classic Black) to 32 (Metallic Red and Yellow), including 23 Metallic Gold and 24 Metallic Platinum. Finishes are components: the Weapon Models page lists each weapon’s components, such as COMPONENT_PISTOL_VARMOD_LUXE for the Pistol and camo components like COMPONENT_PISTOL_MK2_CAMO_02 for the Pistol Mk II.
Qbox and ESX with ox_inventory
ox_inventory treats a finish as an attachment item of the type skin. The stock data/weapons.lua in v2.48.1 ships these items, from at_skin_luxe to at_skin_patriotic. The Luxury Weapon Kit (at_skin_luxe, weight 50) lists ten finish components, including COMPONENT_PISTOL_VARMOD_LUXE and COMPONENT_CARBINERIFLE_VARMOD_LUXE; the Camo Weapon Kit (at_skin_camo) lists the camo component of each Mk II weapon.
- Giving one.
/giveitem me at_skin_luxe 1gives the kit to yourself; the command is restricted togroup.admin. - Using it. The player uses the item while holding the weapon. ox_inventory checks each listed component and attaches the first one the weapon accepts.
- One per weapon. A weapon takes one component per type, so a second skin item is refused until the first is removed.
- Tints. ox_inventory has no stock tint item. Its weapon code applies a tint stored in the weapon item’s metadata (
metadata.tint) when the weapon is equipped, and itsAddItemexport takes a metadata table, so a script can give a tinted weapon.
On ESX with ox_inventory, es_extended turns its own weapon functions, setWeaponTint among them, into empty methods. Use the ox_inventory items instead. More on items in how to add items to ox_inventory.
ESX Legacy with its own inventory
es_extended keeps tints in Config.DefaultWeaponTints, indexes 0 to 7 from tint_default to tint_platinum, and stock weapons point to that list. Finishes are entries in each weapon’s components, such as luxary_finish for the AP Pistol’s COMPONENT_APPISTOL_VARMOD_LUXE. Scripts call xPlayer.setWeaponTint(weaponName, weaponTintIndex). It only changes the tint when the player owns the weapon and the index exists in that weapon’s tint list, then sets it on the player’s client.
QBCore with qb-weapons
qb-weapons makes the items weapontint_0 to weapontint_7 and weapontint_mk2_0 to weapontint_mk2_32 usable, and qb-core’s shared/items.lua defines them, for example weapontint_2 as Gold Tint. The player uses the item while holding the weapon. The finish item is luxuryfinish_attachment, mapped per weapon in qb-weapons/config.lua, for example weapon_pistol to COMPONENT_PISTOL_VARMOD_LUXE.
vMenu, no framework
On a server that runs vMenu Enhanced without an inventory, players pick tints and finishes in Weapon Options. config/weapon-components.json names attachments “such as magazines, scopes and finishes”, and a component missing from that file is never offered. The permission vMenu.Enhanced.Menus.WeaponOptions.Modify covers “attaching, removing and tints”.
Player-installed gun skin packs and pure mode
Many gun skin downloads are packs that players install into their own game files. They are not a server install. On your server, pure mode decides whether such modified files load at all.
sv_pureLevel is “used to prevent users from using modified client files”:
| Level | Effect |
|---|---|
| 1 | Blocks all modified client files “except audio files and known graphics mods” |
| 2 | Blocks all modified client files |
Modified files installed in the FiveM folder are ignored, and a player who modified base game files gets an error message naming the file. The docs do not list which graphics mods count as “known”, so level 2 is the only setting the docs describe as blocking every modified file. On FiveM for GTAV Enhanced, pure mode “is always enabled and can no longer be turned off”, and graphic mods cannot be used during early access.
Cfx.re introduced pure mode in June 2022 because modified client files had become “a plague for a lot of servers due to players abusing them to gain unfair advantages over other players, especially in combat.” On a PvP or redzone server, that is the reason to stream skins from the server and set a pure level. The other client-side settings are in the FiveM anticheat settings guide, and the PvP server guide puts them in context.
Image skins picked in game (runtime textures)
A free standalone resource on the Cfx.re forum lets a player put any image on the held weapon through a menu. Its author states that the result “is NOT synced with other players”, so only that player sees it. The resource loads the image in a DUI browser, draws it on a runtime texture and swaps the weapon texture with AddReplaceTexture. FiveM’s own declaration of that native says: “Experimental natives, please do not use in a live environment.” The author also leaves restricting the command to admins or VIP players to you.
How to make FiveM weapon skins
The Cfx.re Assets Manual covers the toolchain: CodeWalker, Blender and the Sollumz add-on. In CodeWalker’s RPF Explorer you search for a model by name, export it as XML, open it and use Save All Textures in its Materials tab. Textures go back in compressed .dds format, and the manual names NVTT (Nvidia Texture Tools) as “a great tool to create .dds textures”. For a replacement, the finished files keep the game’s model name; for an addon, rename them and follow the addon guide. Only the files your skin changes belong in the resource. Weapon texture sizes count toward the memory warnings above, so check the console after each change.
Troubleshooting
Gun skin not showing in FiveM
- Wrong file name. The files must carry the model name from the Weapon Models page, with
_hiand+hifor the high-detail files. - Files missing. Without its model and texture files, the melee tutorial warns, “the weapon will not show properly”.
- Resource not started, or another one streams the same files. A forum helper’s first questions were whether the resource was started (refresh,
ensure, reconnect) and whether “any other scripts” stream these files. Search your resources for a second copy of the same file name. - DLC weapon on an older build. Check the weapon’s DLC against your enforced game build.
Gun skin works on Windows but not on a Linux server
Linux file names are case-sensitive. In a forum thread about streamed add-ons that loaded on a Windows server but on no client of a Linux server, a reply said that “All .y* files must go in the stream folder. Lowercase probably matters.” The poster fixed it by writing folders, files and manifest entries in lowercase. Do the same for your skin files.
Weapon replacement works locally but not on the live server
In a 2022 thread, a replaced taxi model and the edited weaponcomponents.meta of a Pistol replacement worked on a local server, but on the production server the standard taxi spawned and the Pistol kept 12 rounds. The resources were started through categories such as [weapons]. The poster suspected a bug; the workaround was to place a resource that replaces game files in the root of the resources folder. Try that if the skin works on a test server only.
Only one gun skin shows for a weapon
Two packs that replace the same weapon stream files under the same names. Keep one pack. For another look next to the original, use an addon weapon under its own name.
“This weapon is incompatible with Luxury Weapon Kit”
This ox_inventory message means none of the components in the item fits the held weapon. The Luxury Weapon Kit covers ten weapons; others take another kit, such as the Wood or Metal kit. The Weapon Models page lists which finish each weapon accepts.
“This weapon’s skin slot is already occupied”
The weapon already carries a skin component in ox_inventory. Remove it first, then use the new kit.
“This tint is only for MK2 weapons”
qb-weapons shows this when a weapontint_mk2_ item is used on a weapon that is not a Mk II. Use the matching weapontint_ item instead. “You have no weapon selected.” means the player was not holding the weapon.
Players still see their own gun skins
The server runs without pure mode, or at level 1, which still allows known graphics mods. Set sv_pureLevel 2 on Legacy if every modified file must be blocked; it also blocks audio mods. Players who switch between servers with different pure levels have to restart the game.
Gun skin missing on FiveM for GTAV Enhanced
If the resource has a stream_enhanced folder, Enhanced loads that folder instead of stream, so the skin must be in it. Convert Legacy files with Alchemist first.
Next Steps
- Add new guns next to your replaced ones with how to add addon weapons to FiveM.
- Make all visuals server-side with the FiveM server-side graphics guide.
- Lock down client files with the FiveM anticheat settings guide.
- Browse FiveCrate’s FiveM weapon skins or the full weapons category.
Weapons & attachments: first releases coming soon
Join the FiveCrate Discord to hear when the first releases go live.
Official documentation and repository references
- Cfx.re Docs: Weapon Models
- Cfx.re Docs: Server Commands (sv_pureLevel, sv_enforceGameBuild)
- Cfx.re Docs: What's Changed in FiveM for GTAV Enhanced
- Cfx.re Docs: Resource Manifest
- citizenfx/natives: SET_PED_WEAPON_TINT_INDEX
- ox_inventory source: data/weapons.lua (v2.48.1)
- Cfx.re Forum (community how-to): Stream Addon Melee Weapons
- Cfx.re Forum: [FREE] Weapon Skin [Standalone]
Related guides
FiveM Anticheat Basics: Server Security Settings Explained
FiveM anticheat basics from the docs: what sv_entityLockdown, sv_filterRequestControl, pure mode and state bag strict mode block, and what each can break.
FiveM Server-Side Graphics: Timecycles, Textures, Pure Mode
FiveM server-side graphics: stream a timecycle mod, set visual settings and replace textures from a resource, and use pure mode so every player sees one look.
How to Add Items to ox_inventory (Qbox, ESX, QBCore)
How to add items to ox_inventory: define them in data/items.lua, add PNG images, make them usable, and what changes on Qbox, ESX and QBCore servers.
How to Add Addon Weapons to FiveM (ox_inventory)
How to add addon weapons to FiveM: stream folder, data_file lines for weapons.meta, ox_inventory weapons.lua, images, attachments, QBCore and ESX steps.
FiveM 'Oversized Assets' Warning Explained and Fixed
The FiveM oversized assets warning starts above 16 MiB of physical or virtual memory. See the real FXServer thresholds and how to shrink a YTD file.


