FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
NETWORK_SEND_TRANSITION_GAMER_INSTRUCTION
(int* networkHandle, char* p1, int p2, int p3, BOOL p4)
NETWORK_SESSION_ACTIVITY_QUICKMATCH
(Any p0, Any p1, Any p2, Any p3)
NETWORK_SESSION_ADD_ACTIVE_MATCHMAKING_GROUP
(int groupId)
NETWORK_SESSION_BLOCK_JOIN_REQUESTS
(BOOL toggle)
NETWORK_SESSION_CANCEL_INVITE
()
NETWORK_SESSION_CHANGE_SLOTS
(int p0, BOOL p1)
NETWORK_SESSION_CREW_MATCHMAKING
(int p0, int p1, int p2, int maxPlayers, BOOL p4)
NETWORK_SESSION_END
(BOOL p0, BOOL p1)
NETWORK_SESSION_ENTER
(Any p0, Any p1, Any p2, int maxPlayers, Any p4, Any p5)
NETWORK_SESSION_FORCE_CANCEL_INVITE
()
NETWORK_SESSION_FRIEND_MATCHMAKING
(int p0, int p1, int maxPlayers, BOOL p3)