FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
NETWORK_SESSION_GET_INVITER
(int* networkHandle)
NETWORK_SESSION_GET_KICK_VOTE
(Player player)
NETWORK_SESSION_GET_MATCHMAKING_GROUP_FREE
(int p0)
NETWORK_SESSION_GET_PRIVATE_SLOTS
()
NETWORK_SESSION_HOST
(int p0, int maxPlayers, BOOL p2)
NETWORK_SESSION_HOST_CLOSED
(int p0, int maxPlayers)
NETWORK_SESSION_HOST_FRIENDS_ONLY
(int p0, int maxPlayers)
NETWORK_SESSION_HOST_SINGLE_PLAYER
(int p0)
NETWORK_SESSION_IS_CLOSED_CREW
()
NETWORK_SESSION_IS_CLOSED_FRIENDS
()
NETWORK_SESSION_IS_IN_VOICE_SESSION
()