NetworkClient

networkGetMaxFriends

NETWORK_GET_MAX_FRIENDS0xAFEBB0D5D8F687D2

The GTA V native NETWORK_GET_MAX_FRIENDS of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetMaxFriends, in JavaScript and in Lua.

SignatureJavaScript
networkGetMaxFriends(): number
SignatureLua
networkGetMaxFriends(): integer

Usage

JavaScript
const result = networkGetMaxFriends();
Lua
local result = networkGetMaxFriends()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int NETWORK_GET_MAX_FRIENDS()
Hash
0xAFEBB0D5D8F687D2

Open in the interactive natives reference