NetworkClient2 outputs

networkGetMuteCountForPlayer

NETWORK_GET_MUTE_COUNT_FOR_PLAYER0xADB57E5B663CCA8B

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

SignatureJavaScript
networkGetMuteCountForPlayer(p0: Player): [p1: number, p2: number]
SignatureLua
networkGetMuteCountForPlayer(p0: Player): number, number

Usage

JavaScript
const [p1, p2] = networkGetMuteCountForPlayer(p0);
Lua
local p1, p2 = networkGetMuteCountForPlayer(p0)

Parameters

ParameterTypeJavaScriptLua
p0Playernumberinteger

Returns

2 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1p1floatnumbernumberoutput
2p2floatnumbernumberoutput

Reference

Namespace
Network NETWORK
In the game
void NETWORK_GET_MUTE_COUNT_FOR_PLAYER(Player p0, float* p1, float* p2)
Hash
0xADB57E5B663CCA8B

Open in the interactive natives reference