FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ENABLE_SPECIAL_ABILITY
(Player player, BOOL toggle)
EXTEND_WORLD_BOUNDARY_FOR_PLAYER
(float x, float y, float z)
FORCE_CLEANUP
(int cleanupFlags)
FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME
(char* name, int cleanupFlags)
FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
(int id, int cleanupFlags)
_GET_ACHIEVEMENT_PROGRESS
(int achievement)
GET_CAUSE_OF_MOST_RECENT_FORCE_CLEANUP
()
GET_ENTITY_PLAYER_IS_FREE_AIMING_AT
(Player player, Entity* entity)
GET_MAX_WANTED_LEVEL
()
GET_NUMBER_OF_PLAYERS
()
_GET_NUMBER_OF_PLAYERS_IN_TEAM
(int team)
GET_PLAYER_CURRENT_STEALTH_NOISE
(Player player)
GET_PLAYER_FAKE_WANTED_LEVEL
(Player player)
GET_PLAYER_GROUP
(Player player)
GET_PLAYER_HAS_RESERVE_PARACHUTE
(Player player)
_GET_PLAYER_HEALTH_RECHARGE_LIMIT
(Player player)
GET_PLAYER_INDEX
()
GET_PLAYER_INVINCIBLE
(Player player)
GET_PLAYER_MAX_ARMOUR
(Player player)
GET_PLAYER_NAME
(Player player)
_GET_PLAYER_PARACHUTE_MODEL_OVERRIDE
(Player player)
GET_PLAYER_PARACHUTE_PACK_TINT_INDEX
(Player player, int* tintIndex)
GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR
(Player player, int* r, int* g, int* b)
GET_PLAYER_PARACHUTE_TINT_INDEX
(Player player, int* tintIndex)
GET_PLAYER_PED
(Player playerId)
GET_PLAYER_PED_SCRIPT_INDEX
(Player player)
_GET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE
(Player player)
GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX
(Player player, int* index)
GET_PLAYER_RGB_COLOUR
(Player player, int* r, int* g, int* b)
GET_PLAYER_SPRINT_STAMINA_REMAINING
(Player player)
GET_PLAYER_SPRINT_TIME_REMAINING
(Player player)
GET_PLAYER_TARGET_ENTITY
(Player player, Entity* entity)
GET_PLAYER_TEAM
(Player player)
GET_PLAYER_UNDERWATER_TIME_REMAINING
(Player player)
GET_PLAYER_WANTED_CENTRE_POSITION
(Player player)