NetworkClient

networkAccessTunableBool

NETWORK_ACCESS_TUNABLE_BOOL0xAA6A47A573ABB75A

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

SignatureJavaScript
networkAccessTunableBool(tunableContext: string, tunableName: string): boolean
SignatureLua
networkAccessTunableBool(tunableContext: string, tunableName: string): boolean

Usage

JavaScript
const result = networkAccessTunableBool(tunableContext, tunableName);
Lua
local result = networkAccessTunableBool(tunableContext, tunableName)

Parameters

ParameterTypeJavaScriptLua
tunableContextstringstringstring
tunableNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_ACCESS_TUNABLE_BOOL(const char* tunableContext, const char* tunableName)
Hash
0xAA6A47A573ABB75A

Open in the interactive natives reference