Weapon::hasVehicleGotProjectileAttached

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Third Parameter = unsure, but pretty sure it is weapon hash
--> get_hash_key('weapon_stickybomb')

Fourth Parameter = unsure, almost always -1

Syntax

mp.game.weapon.hasVehicleGotProjectileAttached(driver, vehicle, weapon, p3);

Required Arguments

  • driver: Ped handle or object
  • vehicle: Vehicle handle or object
  • weapon: Model hash or name
  • p3: unknown (to be checked)

Return value

  • Boolean

Example

// todo

See also