NetworkClient

networkSetScriptReadyForEvents

NETWORK_SET_SCRIPT_READY_FOR_EVENTS0x7AC752103856FB20

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

SignatureJavaScript
networkSetScriptReadyForEvents(toggle: boolean): void
SignatureLua
networkSetScriptReadyForEvents(toggle: boolean)

Usage

JavaScript
networkSetScriptReadyForEvents(toggle);
Lua
networkSetScriptReadyForEvents(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_SCRIPT_READY_FOR_EVENTS(BOOL toggle)
Hash
0x7AC752103856FB20

Open in the interactive natives reference