FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_SET_CAN_PED_EQUIP_WEAPON
(Ped ped, Hash weaponHash, BOOL toggle)
SET_CURRENT_PED_VEHICLE_WEAPON
(Ped ped, Hash weaponHash)
SET_CURRENT_PED_WEAPON
(Ped ped, Hash weaponHash, BOOL bForceInHand)
_SET_FLASH_LIGHT_ENABLED
(Ped ped, BOOL toggle)
SET_FLASH_LIGHT_FADE_DISTANCE
(float distance)
SET_PED_AMMO
(Ped ped, Hash weaponHash, int ammo)
SET_PED_AMMO_BY_TYPE
(Ped ped, Hash ammoType, int ammo)
SET_PED_AMMO_TO_DROP
(Ped ped, int ammo)
SET_PED_CHANCE_OF_FIRING_BLANKS
(Ped ped, float xBias, float yBias)
SET_PED_CURRENT_WEAPON_VISIBLE
(Ped ped, BOOL visible, BOOL deselectWeapon, BOOL p3, BOOL p4)
SET_PED_DROPS_INVENTORY_WEAPON
(Ped ped, Hash weaponHash, float xOffset, float yOffset, float zOffset, int ammoCount)
SET_PED_DROPS_WEAPON
(Ped ped)
SET_PED_DROPS_WEAPONS_WHEN_DEAD
(Ped ped, BOOL toggle)
SET_PED_GADGET
(Ped ped, Hash gadgetHash, BOOL p2)
SET_PED_INFINITE_AMMO
(Ped ped, BOOL toggle, Hash weaponHash)
SET_PED_INFINITE_AMMO_CLIP
(Ped ped, BOOL toggle)
SET_PED_SHOOT_ORDNANCE_WEAPON
(Ped ped, float p1)
_SET_PED_WEAPON_LIVERY_COLOR
(Ped ped, Hash weaponHash, Hash camoComponentHash, int colorIndex)
SET_PED_WEAPON_TINT_INDEX
(Ped ped, Hash weaponHash, int tintIndex)
SET_PICKUP_AMMO_AMOUNT_SCALER
(float p0)
_SET_PLAYER_AIR_DEFENSE_ZONE_FLAG
(Player player, int zoneId, BOOL enable)
SET_WEAPON_ANIMATION_OVERRIDE
(Ped ped, Hash animStyle)
_SET_WEAPON_DAMAGE_MODIFIER
(Hash weaponHash, float damageMultiplier)
_SET_WEAPON_EXPLOSION_RADIUS_MULTIPLIER
(Hash weaponHash, float multiplier)
_SET_WEAPON_OBJECT_LIVERY_COLOR
(Object weaponObject, Hash camoComponentHash, int colorIndex)
SET_WEAPON_OBJECT_TINT_INDEX
(Object weapon, int tintIndex)
0x24C024BA8379A70A
(Any p0, Any p1)
0x50276EF8172F5F12
(Ped ped)
0x977CA98939E82E4B
(Object weaponObject, int p1)
0xA2C9AC24B4061285
(Ped ped, Hash weaponHash)
0xE4DCEC7FD5B739A5
(Ped ped)
0xE6D2CEDD370FF98E
(Any p0, Any p1)
Namespace:
ZONE
CLEAR_POPSCHEDULE_OVERRIDE_VEHICLE_MODEL
(int scheduleId)
GET_HASH_OF_MAP_AREA_AT_COORDS
(float x, float y, float z)