NetworkClient

networkIsThreadANetworkScript

NETWORK_IS_THREAD_A_NETWORK_SCRIPT0x560B423D73015E77

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

SignatureJavaScript
networkIsThreadANetworkScript(threadId: number): boolean
SignatureLua
networkIsThreadANetworkScript(threadId: integer): boolean

Usage

JavaScript
const result = networkIsThreadANetworkScript(threadId);
Lua
local result = networkIsThreadANetworkScript(threadId)

Parameters

ParameterTypeJavaScriptLua
threadIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_THREAD_A_NETWORK_SCRIPT(int threadId)
Hash
0x560B423D73015E77
Introduced
Game build 1604 legacy numbering
Formerly
_NETWORK_IS_THREAD_ACTIVE

Open in the interactive natives reference