FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_WEAPON_COMPONENT_RANGE_DAMAGE_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_RANGE_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_RETICULE_HASH
(Hash componentHash)
GET_WEAPON_DAMAGE_MODIFIER
(Hash weaponHash)
GET_WEAPON_RECOIL_SHAKE_AMPLITUDE
(Hash weaponHash)
GET_WORLD_COORD_FROM_SCREEN_COORD
(float screenX, float screenY, Vector3* worldVector, Vector3* normalVector)
GIVE_WEAPON_COMPONENT_TO_PED
(Ped ped, Hash weaponHash, Hash componentHash)
GIVE_WEAPON_TO_PED
(Ped ped, Hash weaponHash, int ammoCount, BOOL isHidden, BOOL bForceInHand)
HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED
(Vehicle vehicle)
HAS_MINIMAP_OVERLAY_LOADED
(int id)
HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS
(Vehicle vehicle)
HAS_VEHICLE_BEEN_OWNED_BY_PLAYER
(Vehicle vehicle)
INVOKE_FUNCTION_REFERENCE
(char* referenceIdentity, char* argsSerialized, int argsLength, int* retvalLength)
IS_ACE_ALLOWED
(char* object)
IS_BIGMAP_ACTIVE
()
IS_BIGMAP_FULL
()
IS_BOAT_ANCHORED_AND_FROZEN
(Vehicle vehicle)
IS_BOAT_WRECKED
(Vehicle vehicle)
IS_DUI_AVAILABLE
(long duiObject)
IS_DUPLICITY_VERSION
()
IS_ENTITY_POSITION_FROZEN
(Entity entity)
IS_ENTITY_VISIBLE
(Entity entity)
IS_FLASH_LIGHT_ON
(Ped ped)
IS_NUI_FOCUS_KEEPING_INPUT
()
IS_NUI_FOCUSED
()
IS_PED_A_PLAYER
(Ped ped)
IS_PED_COMPONENT_VARIATION_GEN9_EXCLUSIVE
(Ped ped, int componentId, int drawableId)
IS_PED_HANDCUFFED
(Ped ped)
IS_PED_RAGDOLL
(Ped ped)
IS_PED_STRAFING
(Ped ped)
IS_PED_USING_ACTION_MODE
(Ped ped)
IS_PLAYER_ACE_ALLOWED
(char* playerSrc, char* object)
IS_PLAYER_COMMERCE_INFO_LOADED
(char* playerSrc)
IS_PLAYER_COMMERCE_INFO_LOADED_EXT
(char* playerSrc)
IS_PLAYER_EVADING_WANTED_LEVEL
(char* playerSrc)