setWeaponObjectCamoIndex
SET_WEAPON_OBJECT_CAMO_INDEX0x977CA98939E82E4BThe GTA V native SET_WEAPON_OBJECT_CAMO_INDEX of the WEAPON namespace, as LS:MP client scripts call it: the global function setWeaponObjectCamoIndex, in JavaScript and in Lua.
setWeaponObjectCamoIndex(weaponObject: Object, p1: number): voidsetWeaponObjectCamoIndex(weaponObject: Object, p1: integer)Usage
JavaScript
setWeaponObjectCamoIndex(weaponObject, p1);Lua
setWeaponObjectCamoIndex(weaponObject, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
weaponObject | Object | number | integer |
p1 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Weapon WEAPON
- In the game
void SET_WEAPON_OBJECT_CAMO_INDEX(Object weaponObject, int p1)- Hash
0x977CA98939E82E4B- Introduced
- Game build 1103 legacy numbering