Weapon::setPedTintIndex
JavaScript
Set given weapon tint index
Required Params
- handle number
- weaponhash number
- tint number
Syntax
mp.game.weapon.setPedTintIndex(handle, weaponhash, tint);
Example
Client-Side
mp.players.local.giveWeapon(mp.game.joaat("WEAPON_PISTOL"), 1000, true);
mp.game.weapon.setPedTintIndex(mp.players.local.handle, mp.game.joaat("WEAPON_PISTOL"), 1);