FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
IS_PLAYER_USING_SUPER_JUMP
(char* playerSrc)
IS_PRINCIPAL_ACE_ALLOWED
(char* principal, char* object)
IS_STREAMING_FILE_READY
(char* registerAs)
IS_VEHICLE_ALARM_SET
(Vehicle vehicle)
IS_VEHICLE_ENGINE_STARTING
(Vehicle vehicle)