networkSetThisScriptIsNetworkScript
NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT0x1CA59E306ECB80A5The GTA V native NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetThisScriptIsNetworkScript, in JavaScript and in Lua.
networkSetThisScriptIsNetworkScript(
maxNumMissionParticipants: number,
p1: boolean,
instanceId: number
): voidnetworkSetThisScriptIsNetworkScript(
maxNumMissionParticipants: integer,
p1: boolean,
instanceId: integer
)✕
Blocked for scripts: Game script threads
Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP resource.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT(int maxNumMissionParticipants, BOOL p1, int instanceId)- Hash
0x1CA59E306ECB80A5