NetworkClientNot in this build

networkPostUdsActivityStart

NETWORK_POST_UDS_ACTIVITY_START

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

SignatureJavaScript
networkPostUdsActivityStart(activityId: string): void
SignatureLua
networkPostUdsActivityStart(activityId: 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
networkPostUdsActivityStart(activityId);
Lua
networkPostUdsActivityStart(activityId)

Parameters

ParameterTypeJavaScriptLua
activityIdstringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_POST_UDS_ACTIVITY_START(const char* activityId)

Open in the interactive natives reference