Weapon::requestWeaponAsset

From RAGE Multiplayer Wiki
Revision as of 21:35, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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