FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_NETWORK_GET_AVERAGE_LATENCY_FOR_PLAYER_2
(Player player)
_NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER
(Player player)
NETWORK_GET_BACKGROUND_LOADING_RECIPIENTS
(Any p0, Any p1, Any* p2, Any* p3)
NETWORK_GET_CONTENT_MODIFIER_LIST_ID
(Hash contentHash)
NETWORK_GET_CURRENTLY_SELECTED_GAMER_HANDLE_FROM_INVITE_MENU
(Any* p0)
_NETWORK_GET_DESTROYER_OF_ENTITY
(Any p0, Any p1, Hash* weaponHash)
NETWORK_GET_DESTROYER_OF_NETWORK_ID
(int netId, Hash* weaponHash)
_NETWORK_GET_DISPLAYNAMES_FROM_HANDLES
(Any p0, Any p1, Any p2)
NETWORK_GET_ENTITY_FROM_NETWORK_ID
(int netId)
NETWORK_GET_ENTITY_IS_LOCAL
(Entity entity)
NETWORK_GET_ENTITY_IS_NETWORKED
(Entity entity)
NETWORK_GET_ENTITY_KILLER_OF_PLAYER
(Player player, Hash* weaponHash)
_NETWORK_GET_ENTITY_NET_SCRIPT_ID
(Entity entity)
NETWORK_GET_FOUND_GAMER
(Any* p0, Any p1)
NETWORK_GET_FRIEND_COUNT
()
NETWORK_GET_FRIEND_NAME
(int friendIndex)
_NETWORK_GET_FRIEND_NAME_FROM_INDEX
(int friendIndex)
NETWORK_GET_GAMER_STATUS_FROM_QUEUE
()
NETWORK_GET_GAMER_STATUS_RESULT
(Any* p0, Any p1)
NETWORK_GET_GAMERTAG_FROM_HANDLE
(int* networkHandle)
NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
(int* hours, int* minutes, int* seconds)
NETWORK_GET_HOST_OF_SCRIPT
(char* scriptName, int p1, int p2)
NETWORK_GET_HOST_OF_THIS_SCRIPT
()
NETWORK_GET_INSTANCE_ID_OF_THIS_SCRIPT
()
_NETWORK_GET_LAST_VELOCITY_RECEIVED
(Entity entity)
NETWORK_GET_LOCAL_HANDLE
(int* networkHandle, int bufferSize)
NETWORK_GET_LOCAL_SCENE_FROM_NETWORK_ID
(int netSceneId)
NETWORK_GET_MAX_FRIENDS
()
NETWORK_GET_MAX_NUM_PARTICIPANTS
()
NETWORK_GET_NETWORK_ID_FROM_ENTITY
(Entity entity)
_NETWORK_GET_NUM_BODY_TRACKERS
()
NETWORK_GET_NUM_CONNECTED_PLAYERS
()
NETWORK_GET_NUM_FOUND_GAMERS
()
NETWORK_GET_NUM_PARTICIPANTS
()
NETWORK_GET_NUM_PRESENCE_INVITES
()