NetworkClient

networkRequestToBeHostOfThisScript

NETWORK_REQUEST_TO_BE_HOST_OF_THIS_SCRIPT0x741A3D8380319A81

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

SignatureJavaScript
networkRequestToBeHostOfThisScript(): void
SignatureLua
networkRequestToBeHostOfThisScript()

Usage

JavaScript
networkRequestToBeHostOfThisScript();
Lua
networkRequestToBeHostOfThisScript()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_REQUEST_TO_BE_HOST_OF_THIS_SCRIPT()
Hash
0x741A3D8380319A81

Open in the interactive natives reference