networkCanTextFromGamerBeViewed
_NETWORK_CAN_TEXT_FROM_GAMER_BE_VIEWED0x9F633448E4C73207The 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.
networkCanTextFromGamerBeViewed(gamerHandle: null): booleannetworkCanTextFromGamerBeViewed(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
gamerHandle | Any* | null | nil |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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