xPlayer.setWeaponTint¶
xPlayer.setWeaponTint(weaponName, weaponTintIndex)
This function sets the player weapon tint from the tint index
Arguments¶
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
weaponName | string | No | - | Weapon name |
weaponTintIndex | number | No | - | Weapon tint index |