Weapon::getPedTintIndex: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 April 2024

  • curprev 07:4607:46, 25 April 2024Shr0x talk contribs 790 bytes +790 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets given weapon tint index === Required Params === *'''handle''' {{RageType|number}} *'''weaponhash''' {{RageType|number}} ==Syntax== <pre> mp.game.weapon.getPedTintIndex(handle, weaponhash); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> 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);..."