NetworkClientBlocked

networkCanTextChatWithGamer

NETWORK_CAN_TEXT_CHAT_WITH_GAMER0xA150A4F065806B1F

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

SignatureJavaScript
networkCanTextChatWithGamer(gamerHandle: null): boolean
SignatureLua
networkCanTextChatWithGamer(gamerHandle: nil): boolean
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

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_CAN_TEXT_CHAT_WITH_GAMER(Any* gamerHandle)
Hash
0xA150A4F065806B1F

Open in the interactive natives reference