NetworkClientNot in this build

networkCanTextFromGamerBeViewed

_NETWORK_CAN_TEXT_FROM_GAMER_BE_VIEWED0x9F633448E4C73207

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

SignatureJavaScript
networkCanTextFromGamerBeViewed(gamerHandle: null): boolean
SignatureLua
networkCanTextFromGamerBeViewed(gamerHandle: nil): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const result = networkCanTextFromGamerBeViewed(null);
Lua
local result = networkCanTextFromGamerBeViewed(nil)

Parameters

ParameterTypeJavaScriptLua
gamerHandleAny*nullnil

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

NETWORK_CAN_*

Reference

Namespace
Network NETWORK
In the game
BOOL _NETWORK_CAN_TEXT_FROM_GAMER_BE_VIEWED(Any* gamerHandle)
Hash
0x9F633448E4C73207
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference