NetworkClient

networkAccessTunableBoolHash

NETWORK_ACCESS_TUNABLE_BOOL_HASH0xEA16B69D93D71A45

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

SignatureJavaScript
networkAccessTunableBoolHash(tunableContext: Hash, tunableName: Hash): boolean
SignatureLua
networkAccessTunableBoolHash(tunableContext: Hash, tunableName: Hash): boolean

Usage

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

Parameters

ParameterTypeJavaScriptLua
tunableContextHashnumberinteger
tunableNameHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_ACCESS_TUNABLE_BOOL_HASH(Hash tunableContext, Hash tunableName)
Hash
0xEA16B69D93D71A45
Formerly
_NETWORK_ACCESS_TUNABLE_BOOL_HASH

Open in the interactive natives reference