NetworkClientNot in this build

networkGetAccessCodeLabelHeading

_NETWORK_GET_ACCESS_CODE_LABEL_HEADING0x967E6FB554E1B6DE

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

SignatureJavaScript
networkGetAccessCodeLabelHeading(accessCode: number): string
SignatureLua
networkGetAccessCodeLabelHeading(accessCode: integer): string
⚠
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
const text = networkGetAccessCodeLabelHeading(accessCode);
Lua
local text = networkGetAccessCodeLabelHeading(accessCode)

Parameters

ParameterTypeJavaScriptLua
accessCodeintnumberinteger

Returns

string JavaScript string, Lua string

Reference

Namespace
Network NETWORK
In the game
const char* _NETWORK_GET_ACCESS_CODE_LABEL_HEADING(int accessCode)
Hash
0x967E6FB554E1B6DE
Introduced
Game build 3570 legacy numbering

Open in the interactive natives reference