FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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
()
NETWORK_SESSION_IS_PRIVATE
()
NETWORK_SESSION_IS_SOLO
()
NETWORK_SESSION_IS_VISIBLE
()
NETWORK_SESSION_IS_VOICE_SESSION_BUSY
()
NETWORK_SESSION_JOIN_INVITE
()
NETWORK_SESSION_KICK_PLAYER
(Player player)
NETWORK_SESSION_LEAVE_SINGLE_PLAYER
()
NETWORK_SESSION_MARK_VISIBLE
(BOOL toggle)
NETWORK_SESSION_SET_MATCHMAKING_GROUP
(int matchmakingGroup)
NETWORK_SESSION_SET_MATCHMAKING_GROUP_MAX
(int playerType, int playerCount)
NETWORK_SESSION_SET_MATCHMAKING_MENTAL_STATE
(Any p0)
NETWORK_SESSION_SET_MATCHMAKING_PROPERTY_ID
(BOOL p0)
NETWORK_SESSION_VALIDATE_JOIN
(BOOL p0)
NETWORK_SESSION_VOICE_CONNECT_TO_PLAYER
(Any* globalPtr)
NETWORK_SESSION_VOICE_HOST
()
NETWORK_SESSION_VOICE_LEAVE
()
NETWORK_SESSION_VOICE_RESPOND_TO_REQUEST
(BOOL p0, int p1)
NETWORK_SESSION_VOICE_SET_TIMEOUT
(int timeout)
NETWORK_SESSION_WAS_INVITED
()
NETWORK_SET_ACTIVITY_PLAYER_MAX
(int playerCount)
NETWORK_SET_ACTIVITY_SPECTATOR
(BOOL toggle)