FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
NETWORK_SET_ACTIVITY_SPECTATOR_MAX
(int maxSpectators)
NETWORK_SET_CHOICE_MIGRATE_OPTIONS
(BOOL toggle, Player player)
_NETWORK_SET_CURRENT_DATA_MANAGER_HANDLE
(Any* p0)
_NETWORK_SET_CURRENT_MISSION_ID
(char* missionId)
_NETWORK_SET_CURRENT_SPAWN_SETTING
(Hash mpSettingSpawn)
NETWORK_SET_CURRENTLY_SELECTED_GAMER_HANDLE_FROM_INVITE_MENU
(Any* p0)