NetworkClient

cloudHasRequestCompleted

CLOUD_HAS_REQUEST_COMPLETED0x4C61B39930D045DA

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

SignatureJavaScript
cloudHasRequestCompleted(requestId: number): boolean
SignatureLua
cloudHasRequestCompleted(requestId: integer): boolean

Usage

JavaScript
const result = cloudHasRequestCompleted(requestId);
Lua
local result = cloudHasRequestCompleted(requestId)

Parameters

ParameterTypeJavaScriptLua
requestIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL CLOUD_HAS_REQUEST_COMPLETED(int requestId)
Hash
0x4C61B39930D045DA

Open in the interactive natives reference