NetworkClient

setNetworkIdVisibleInCutsceneHack

SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_HACK0x32EBD154CB6B8B99

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

SignatureJavaScript
setNetworkIdVisibleInCutsceneHack(
  netId: number,
  p1: boolean,
  p2: boolean
): void
SignatureLua
setNetworkIdVisibleInCutsceneHack(netId: integer, p1: boolean, p2: boolean)

Usage

JavaScript
setNetworkIdVisibleInCutsceneHack(netId, p1, p2);
Lua
setNetworkIdVisibleInCutsceneHack(netId, p1, p2)

Parameters

ParameterTypeJavaScriptLua
netIdintnumberinteger
p1BOOLbooleanboolean
p2BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_HACK(int netId, BOOL p1, BOOL p2)
Hash
0x32EBD154CB6B8B99
Introduced
Game build 505 legacy numbering
Formerly
_SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_NO_COLLISION

Open in the interactive natives reference