Weapon::createWeaponObject

From RAGE Multiplayer Wiki
Revision as of 15:35, 6 April 2020 by Bonus (talk | contribs) (heading => scale)

Now has 8 params.

Syntax

mp.game.weapon.createWeaponObject(weaponHash, ammoCount, x, y, z, showWorldModel, scale, p7);

Required Arguments

  • weaponHash: Model hash or name
  • ammoCount: int
  • x: float
  • y: float
  • z: float
  • showWorldModel: Boolean
  • scale: float
  • p7: unknown (to be checked)

Return value

  • Object handle or object

Example

// todo

See also