NetworkClientNot in this build

networkInviteGetJoinFailReason

_NETWORK_INVITE_GET_JOIN_FAIL_REASON0x7B335F84501145BB

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

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

Parameters

None.

Returns

string JavaScript string, Lua string

Notes

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

Retrieves the failed invite join alert reason

Reference

Namespace
Network NETWORK
In the game
const char* _NETWORK_INVITE_GET_JOIN_FAIL_REASON()
Hash
0x7B335F84501145BB
Introduced
Game build 3179 legacy numbering

Open in the interactive natives reference