Перейти к содержанию

Weapon::hasVehicleGotProjectileAttached

Материал из RAGE MP Wiki Archive

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

Fourth Parameter = unsure, almost always -1

Syntax

<syntaxhighlight lang="javascript">mp.game.weapon.hasVehicleGotProjectileAttached(driver, vehicle, weapon, p3);</syntaxhighlight>

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

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also