WEAPON

GET_WEAPON_OBJECT_COMPONENT_TINT_INDEX

0xB3EA4FEABF41464B

Signature

// WEAPON
int GET_WEAPON_OBJECT_COMPONENT_TINT_INDEX(Object weaponObject, Hash camoComponentHash)

Parameters

Type Name
Object weaponObject
Hash camoComponentHash

Return type int

Build 1103

Former names

  • _GET_WEAPON_OBJECT_LIVERY_COLOR

Documentation

Returns -1 if camoComponentHash is invalid/not attached to the weapon object. 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.