NetworkClientBlocked

networkSessionGetKickVote

NETWORK_SESSION_GET_KICK_VOTE0xD6D09A6F32F49EF1

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

SignatureJavaScript
networkSessionGetKickVote(player: Player): boolean
SignatureLua
networkSessionGetKickVote(player: Player): boolean
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_SESSION_GET_KICK_VOTE(Player player)
Hash
0xD6D09A6F32F49EF1
Formerly
_NETWORK_SESSION_ARE_PLAYERS_VOTING_TO_KICK _NETWORK_SESSION_IS_PLAYER_VOTED_TO_KICK

Open in the interactive natives reference