networkGetAccessCodeLabelBody
_NETWORK_GET_ACCESS_CODE_LABEL_BODY0x214CA1730793EBA8The 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.
networkGetAccessCodeLabelBody(accessCode: number): stringnetworkGetAccessCodeLabelBody(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
accessCode | int | number | integer |
Returns
string JavaScript string, Lua stringReference
- Namespace
- Network NETWORK
- In the game
const char* _NETWORK_GET_ACCESS_CODE_LABEL_BODY(int accessCode)- Hash
0x214CA1730793EBA8- Introduced
- Game build 3570 legacy numbering