FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
NETWORK_SET_ENTITY_CAN_BLEND
(Entity entity, BOOL toggle)
_NETWORK_SET_ENTITY_GHOSTED_WITH_OWNER
(Entity entity, BOOL p1)
_NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK
(Entity entity, BOOL toggle)
NETWORK_SET_FRIENDLY_FIRE_OPTION
(BOOL toggle)
NETWORK_SET_GAMER_INVITED_TO_TRANSITION
(int* networkHandle)
NETWORK_SET_IN_FREE_CAM_MODE
(BOOL toggle)
NETWORK_SET_IN_MP_CUTSCENE
(BOOL p0, BOOL p1)
NETWORK_SET_IN_SPECTATOR_MODE
(BOOL toggle, Ped playerPed)
NETWORK_SET_IN_SPECTATOR_MODE_EXTENDED
(BOOL toggle, Ped playerPed, BOOL p2)
NETWORK_SET_INVITE_ON_CALL_FOR_INVITE_MENU
(int* networkHandle)
NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME
(int time)