NetworkClientNot in this build

networkPostUdsActivityEnd

NETWORK_POST_UDS_ACTIVITY_END

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

SignatureJavaScript
networkPostUdsActivityEnd(
  activityId: string,
  iOutcome: number,
  iScore: number
): void
SignatureLua
networkPostUdsActivityEnd(
  activityId: string,
  iOutcome: integer,
  iScore: integer
)
⚠
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
networkPostUdsActivityEnd(activityId, iOutcome, iScore);
Lua
networkPostUdsActivityEnd(activityId, iOutcome, iScore)

Parameters

ParameterTypeJavaScriptLua
activityIdstringstringstring
iOutcomeintnumberinteger
iScoreintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_POST_UDS_ACTIVITY_END(const char* activityId, int iOutcome, int iScore)

Open in the interactive natives reference