Santa & Christmas Edition36 maps, limited runlimited runShop the drop
Chapter 10 of 10The Weapon Skins Handbook for FiveM

Troubleshooting weapons and the release checklist

In short

The same few problems turn up on every server. Find the symptom, check the cause, then open the guide. The checklist at the end is for the day a pack goes onto a live server or into a store.

SymptomLikely causeFix
Pink or purple weaponTexture dictionary missing or misnamedMatch txdName and file names; stream the .ytd
Invisible weaponModel not streamed or modelName mismatchCheck weaponarchetypes.meta and the stream folder
Weapon not in the inventoryNot added to data/weapons.lua or shared itemsAdd it and restart the inventory
Name shows as NULLNo AddTextEntry for HumanNameHashRegister the label on the client
Attachment floatsBone in the wrong placeMove WAPSupp/WAPScop in Blender
Oversized-asset warning4K or uncompressed textures2K/1K BC7 with mipmaps
Cannot reloadWrong ammoname / AmmoInfoPoint it at an existing ammo item/type
Weapon removed after a momentAnticheat or inventory sees an unowned weaponGive it through the inventory on the server

Each row has a guide of its own: pink textures, a weapon that does not stream, a weapon missing from the inventory and client crashes caused by weapons.

Before a pack is released, go through the list below. For the scripting side, the performance and security chapters of the Developer Handbook for FiveM go into more depth.

Checklist
  • Each weapon has a unique WEAPON_… name and a registered label
  • Archetype modelName and txdName match the streamed files
  • Textures are 1K–2K, BC1 or BC7, with full mipmaps, and nothing raises an oversized-asset warning
  • LODs are present and attachments sit on the right bones
  • Weapons, ammo and attachments are in the inventory, each with an image
  • Shops, licences and armory grades are configured
  • Damage and headshot values are tested against your armour settings
  • Weapons are only ever given from server code
  • Everything is checked in first and third person, by day and by night

The Weapon Skins Handbook for FiveM

This chapter is one of 10. The handbook also carries the native, control and data-file cheat sheets, a glossary and the official references behind every chapter.

Open the handbook