FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_NETWORK_PED_FORCE_GAME_STATE_UPDATE
(Ped ped)
NETWORK_PLAYER_GET_CHEATER_REASON
()
NETWORK_PLAYER_GET_NAME
(Player player)
NETWORK_PLAYER_GET_USERID
(Player player, int* userID)
NETWORK_PLAYER_HAS_HEADSET
(Player player)
NETWORK_PLAYER_INDEX_IS_CHEATER
(Player player)
NETWORK_PLAYER_IS_BADSPORT
()
NETWORK_PLAYER_IS_CHEATER
()
NETWORK_PLAYER_IS_ROCKSTAR_DEV
(Player player)
NETWORK_QUERY_RESPAWN_RESULTS
(Any* p0)
NETWORK_QUEUE_GAMER_FOR_STATUS
(Any* p0)
NETWORK_QUIT_MP_TO_DESKTOP
()
NETWORK_REGISTER_ENTITY_AS_NETWORKED
(Entity entity)
NETWORK_REGISTER_HOST_BROADCAST_VARIABLES
(int* vars, int numVars)
NETWORK_REGISTER_PLAYER_BROADCAST_VARIABLES
(int* vars, int numVars)
_NETWORK_REGISTER_TUNABLE_BOOL_HASH
(Hash contextHash, Hash nameHash, BOOL* value)
_NETWORK_REGISTER_TUNABLE_FLOAT_HASH
(Hash contextHash, Hash nameHash, float* value)
_NETWORK_REGISTER_TUNABLE_INT_HASH
(Hash contextHash, Hash nameHash, int* value)
NETWORK_REMOVE_ALL_TRANSITION_INVITE
()
NETWORK_REMOVE_ENTITY_AREA
(Any p0)
NETWORK_REMOVE_PRESENCE_INVITE
(Any p0)
NETWORK_REMOVE_TRANSITION_INVITE
(Any* p0)
_NETWORK_REPORT_MYSELF
()
NETWORK_REQUEST_CLOUD_BACKGROUND_SCRIPTS
()
NETWORK_REQUEST_CLOUD_TUNABLES
()
NETWORK_REQUEST_CONTROL_OF_DOOR
(int doorID)
NETWORK_REQUEST_CONTROL_OF_ENTITY
(Entity entity)
NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
(int netId)
NETWORK_RESET_BODY_TRACKER
()
_NETWORK_RESPAWN_COORDS
(Player player, float x, float y, float z, BOOL p4, BOOL p5)
NETWORK_RESURRECT_LOCAL_PLAYER
(float x, float y, float z, float heading, int nInvincibilityTime, BOOL bLeaveDeadPed)
NETWORK_SEED_RANDOM_NUMBER_GENERATOR
(int seed)
NETWORK_SEND_INVITE_VIA_PRESENCE
(int* networkHandle, Any* p1, Any p2, Any p3)
_NETWORK_SEND_PRESENCE_TRANSITION_INVITE
(Any* p0, Any* p1, Any p2, Any p3)
NETWORK_SEND_TEXT_MESSAGE
(char* message, int* networkHandle)