DLCClientNot in this build

declareInMultiplayerThisFrame

DECLARE_IN_MULTIPLAYER_THIS_FRAME

The GTA V native DECLARE_IN_MULTIPLAYER_THIS_FRAME of the DLC namespace, as LS:MP client scripts call it: the global function declareInMultiplayerThisFrame, in JavaScript and in Lua.

SignatureJavaScript
declareInMultiplayerThisFrame(): void
SignatureLua
declareInMultiplayerThisFrame()
⚠
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
declareInMultiplayerThisFrame();
Lua
declareInMultiplayerThisFrame()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
DLC DLC
In the game
void DECLARE_IN_MULTIPLAYER_THIS_FRAME()

Open in the interactive natives reference