NetworkClientNot in this build

networkGetAccessCodeLabelBody

_NETWORK_GET_ACCESS_CODE_LABEL_BODY0x214CA1730793EBA8

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

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

Parameters

ParameterTypeJavaScriptLua
accessCodeintnumberinteger

Returns

string JavaScript string, Lua string

Reference

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

Open in the interactive natives reference