Перейти к содержанию

Weapon::getPedTintIndex

Материал из RAGE MP Wiki Archive
Версия от 07:46, 25 апреля 2024; imported>Shr0x (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);...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Client-Side
Function

Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения JavaScript



Gets given weapon tint index

Required Params

  • handle number
  • weaponhash number


Syntax

mp.game.weapon.getPedTintIndex(handle, weaponhash);

Example

Client-Side

{{{1}}}


See also