NetworkClient

networkDoesTunableExist

NETWORK_DOES_TUNABLE_EXIST0x85E5F8B9B898B20A

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
tunableContextstringstringstring
tunableNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

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

Open in the interactive natives reference