FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
NETWORK_GET_NUM_CONNECTED_PLAYERS
()
NETWORK_GET_NUM_FOUND_GAMERS
()
NETWORK_GET_NUM_PARTICIPANTS
()
NETWORK_GET_NUM_PRESENCE_INVITES
()
NETWORK_GET_NUM_SCRIPT_PARTICIPANTS
(Any* p0, Any p1, Any p2)
_NETWORK_GET_NUM_UNACKED_FOR_PLAYER
(Player player)
_NETWORK_GET_OLDEST_RESEND_COUNT_FOR_PLAYER
(Player player)
NETWORK_GET_PARTICIPANT_INDEX
(int index)
NETWORK_GET_PLATFORM_PARTY_MEMBERS
(Any* data, int dataSize)
_NETWORK_GET_PLATFORM_PARTY_UNK
()
_NETWORK_GET_PLAYER_COORDS
(Player player)
NETWORK_GET_PLAYER_FROM_GAMER_HANDLE
(int* networkHandle)
NETWORK_GET_PLAYER_INDEX
(Player player)
NETWORK_GET_PLAYER_INDEX_FROM_PED
(Ped ped)
NETWORK_GET_PLAYER_LOUDNESS
(Player player)
NETWORK_GET_PLAYER_OWNS_WAYPOINT
(Player player)
NETWORK_GET_PLAYER_TUTORIAL_SESSION_INSTANCE
(Player player)
_NETWORK_GET_POSITION_HASH_OF_THIS_SCRIPT
()
NETWORK_GET_PRESENCE_INVITE_CONTENT_ID
(Any p0)
NETWORK_GET_PRESENCE_INVITE_FROM_ADMIN
(Any p0)
NETWORK_GET_PRESENCE_INVITE_HANDLE
(Any p0, Any* p1)
NETWORK_GET_PRESENCE_INVITE_ID
(Any p0)
NETWORK_GET_PRESENCE_INVITE_INVITER
(int inviteIndex)
NETWORK_GET_PRESENCE_INVITE_IS_TOURNAMENT
(Any p0)
NETWORK_GET_PRESENCE_INVITE_PLAYLIST_CURRENT
(Any p0)
NETWORK_GET_PRESENCE_INVITE_PLAYLIST_LENGTH
(Any p0)
NETWORK_GET_PRESENCE_INVITE_SESSION_ID
(int inviteIndex)
NETWORK_GET_PRIMARY_CLAN_DATA_CANCEL
()
NETWORK_GET_PRIMARY_CLAN_DATA_CLEAR
()
NETWORK_GET_PRIMARY_CLAN_DATA_NEW
(Any* p0, Any* p1)
NETWORK_GET_PRIMARY_CLAN_DATA_PENDING
()
NETWORK_GET_PRIMARY_CLAN_DATA_START
(Any* p0, Any p1)
NETWORK_GET_PRIMARY_CLAN_DATA_SUCCESS
()
NETWORK_GET_RANDOM_INT
()
NETWORK_GET_RANDOM_INT_RANGED
(int rangeStart, int rangeEnd)