NetworkClientNot in this build

networkSetTunablesRegistrationContexts

_NETWORK_SET_TUNABLES_REGISTRATION_CONTEXTS0x014A73449675121D

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

SignatureJavaScript
networkSetTunablesRegistrationContexts(tunableContextData: null): void
SignatureLua
networkSetTunablesRegistrationContexts(tunableContextData: nil)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
networkSetTunablesRegistrationContexts(null);
Lua
networkSetTunablesRegistrationContexts(nil)

Parameters

ParameterTypeJavaScriptLua
tunableContextDataAny*nullnil

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Sets up tunable contexts for _NETWORK_GET_TUNABLES_REGISTRATION_{BOOL|INT|FLOAT}

Reference

Namespace
Network NETWORK
In the game
void _NETWORK_SET_TUNABLES_REGISTRATION_CONTEXTS(Any* tunableContextData)
Hash
0x014A73449675121D
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference