NetworkClientBlocked

networkTryToSetThisScriptIsNetworkScript

NETWORK_TRY_TO_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT0xD1110739EEADB592

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

SignatureJavaScript
networkTryToSetThisScriptIsNetworkScript(
  p0: any,
  p1: boolean,
  p2: any
): boolean
SignatureLua
networkTryToSetThisScriptIsNetworkScript(
  p0: any,
  p1: boolean,
  p2: any
): boolean
✕
Blocked for scripts: Game script threads

Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP resource.

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_TRY_TO_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT(Any p0, BOOL p1, Any p2)
Hash
0xD1110739EEADB592
Formerly
_NETWORK_SET_THIS_SCRIPT_MARKED _NETWORK_IS_THIS_SCRIPT_MARKED

Open in the interactive natives reference