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

Weapon::requestWeaponAsset

Материал из RAGE MP Wiki Archive
Версия от 21:35, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Nearly every instance of p1 I found was 31. Nearly every instance of p2 I found was 0.

REQUEST_WEAPON_ASSET(iLocal_1888, 31, 26);

Syntax

<syntaxhighlight lang="javascript">mp.game.weapon.requestWeaponAsset(weaponHash, p1, p2);</syntaxhighlight>

Required Arguments

  • weaponHash: Model hash or name
  • p1: int
  • p2: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also