NetworkClient

networkIsPlayerBlockedByMe

NETWORK_IS_PLAYER_BLOCKED_BY_ME0x57AF1F8E27483721

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

SignatureJavaScript
networkIsPlayerBlockedByMe(player: Player): boolean
SignatureLua
networkIsPlayerBlockedByMe(player: Player): boolean

Usage

JavaScript
const result = networkIsPlayerBlockedByMe(player);
Lua
local result = networkIsPlayerBlockedByMe(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_PLAYER_BLOCKED_BY_ME(Player player)
Hash
0x57AF1F8E27483721

Open in the interactive natives reference