Weapon::createWeaponObject

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Now has 8 params.

Syntax

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

Required Arguments

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

Return value

  • Object handle or object

Example

// todo

See also