Native referenceFiveM

CREATE_AIR_DEFENCE_SPHERE

0x91EF34584710BE99 WEAPON
FUNCTION SIGNATURE
int CREATE_AIR_DEFENCE_SPHERE(float x, float y, float z, float radius, float weaponPositionX, float weaponPositionY, float weaponPositionZ, Hash weaponHash);
Property Value
Native Name CREATE_AIR_DEFENCE_SPHERE
Hash 0x91EF34584710BE99
Return Type int
Parameters x (float), y (float), z (float), radius (float), weaponPositionX (float), weaponPositionY (float), weaponPositionZ (float), weaponHash (Hash)

Description: Both coordinates are from objects in the decompiled scripts.

Native related to _0xECDC202B25E5CF48 p1 value. The only weapon hash used in the decompiled scripts is weapon_air_defence_gun. These two natives are used by the yacht script, decompiled scripts suggest it and the weapon hash used (valkyrie's rockets) are also used by yachts.

Parameters

  • x (float)
  • y (float)
  • z (float)
  • radius (float) — Unknown float 150.0 is used in freemode script.
  • weaponPositionX (float)
  • weaponPositionY (float)
  • weaponPositionZ (float)
  • weaponHash (Hash) — weapon_air_defence_gun and 0 are used in the decompiled scripts.
Back to WEAPON