Skip to main content

Weapon::requestWeaponAsset

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

```js mp.game.weapon.requestWeaponAsset(weaponHash, p1, p2); ```

Required Arguments

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

Return value

  • Undefined

Example

```js // todo ```

See also