WEAPON

GET_PED_WEAPON_COMPONENT_TINT_INDEX

0xF0A60040BE558F2D

Signature

// WEAPON
int GET_PED_WEAPON_COMPONENT_TINT_INDEX(Ped ped, Hash weaponHash, Hash camoComponentHash)

Parameters

Type Name
Ped ped
Hash weaponHash
Hash camoComponentHash

Return type int

Build 1103

Former names

  • _GET_PED_WEAPON_LIVERY_COLOR

Documentation

Returns -1 if camoComponentHash is invalid/not attached to the weapon. Full list of weapons, components, tint indexes & weapon liveries by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.