Weapon::requestWeaponAsset

From RAGE Multiplayer Wiki

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

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

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also