FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_WEAPON_COMPONENT_HUD_STATS
(Hash componentHash, int* outData)
GET_WEAPON_COMPONENT_TYPE_MODEL
(Hash componentHash)
_GET_WEAPON_COMPONENT_VARIANT_EXTRA_COMPONENT_COUNT
(Hash componentHash)
_GET_WEAPON_COMPONENT_VARIANT_EXTRA_COMPONENT_MODEL
(Hash componentHash, int extraComponentIndex)
GET_WEAPON_DAMAGE
(Hash weaponHash, Hash componentHash)
GET_WEAPON_DAMAGE_TYPE
(Hash weaponHash)
GET_WEAPON_HUD_STATS
(Hash weaponHash, Any* outData)
GET_WEAPON_OBJECT_FROM_PED
(Ped ped, BOOL p1)
_GET_WEAPON_OBJECT_LIVERY_COLOR
(Object weaponObject, Hash camoComponentHash)
GET_WEAPON_OBJECT_TINT_INDEX
(Object weapon)
_GET_WEAPON_TIME_BETWEEN_SHOTS
(Hash weaponHash)
GET_WEAPON_TINT_COUNT
(Hash weaponHash)
GET_WEAPONTYPE_GROUP
(Hash weaponHash)
GET_WEAPONTYPE_MODEL
(Hash weaponHash)
GET_WEAPONTYPE_SLOT
(Hash weaponHash)
GIVE_DELAYED_WEAPON_TO_PED
(Ped ped, Hash weaponHash, int ammoCount, BOOL bForceInHand)
_GIVE_LOADOUT_TO_PED
(Ped ped, Hash loadoutHash)
GIVE_WEAPON_COMPONENT_TO_PED
(Ped ped, Hash weaponHash, Hash componentHash)
GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT
(Object weaponObject, Hash addonHash)
GIVE_WEAPON_OBJECT_TO_PED
(Object weaponObject, Ped ped)
GIVE_WEAPON_TO_PED
(Ped ped, Hash weaponHash, int ammoCount, BOOL isHidden, BOOL bForceInHand)
HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON
(Entity entity, Hash weaponHash, int weaponType)
HAS_PED_BEEN_DAMAGED_BY_WEAPON
(Ped ped, Hash weaponHash, int weaponType)
HAS_PED_GOT_WEAPON
(Ped ped, Hash weaponHash, BOOL p2)
HAS_PED_GOT_WEAPON_COMPONENT
(Ped ped, Hash weaponHash, Hash componentHash)
HAS_VEHICLE_GOT_PROJECTILE_ATTACHED
(Ped driver, Vehicle vehicle, Hash weaponHash, Any p3)
HAS_WEAPON_ASSET_LOADED
(Hash weaponHash)
HAS_WEAPON_GOT_WEAPON_COMPONENT
(Object weapon, Hash addonHash)
HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE
(Ped ped, BOOL toggle)
_IS_ANY_AIR_DEFENSE_ZONE_INSIDE_SPHERE
(float x, float y, float z, float radius, int* SphereIndex)
IS_FLASH_LIGHT_ON
(Ped ped)
IS_PED_ARMED
(Ped ped, int typeFlags)
IS_PED_CURRENT_WEAPON_SILENCED
(Ped ped)
IS_PED_WEAPON_COMPONENT_ACTIVE
(Ped ped, Hash weaponHash, Hash componentHash)
IS_PED_WEAPON_READY_TO_SHOOT
(Ped ped)