NetworkClient

setRemotePlayerVisibleInCutscene

SET_REMOTE_PLAYER_VISIBLE_IN_CUTSCENE0x96320E6549DAE7B4

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

SignatureJavaScript
setRemotePlayerVisibleInCutscene(
  player: Player,
  locallyVisible: boolean
): void
SignatureLua
setRemotePlayerVisibleInCutscene(player: Player, locallyVisible: boolean)

Usage

JavaScript
setRemotePlayerVisibleInCutscene(player, locallyVisible);
Lua
setRemotePlayerVisibleInCutscene(player, locallyVisible)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
locallyVisibleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_REMOTE_PLAYER_VISIBLE_IN_CUTSCENE(Player player, BOOL locallyVisible)
Hash
0x96320E6549DAE7B4
Introduced
Game build 2802 legacy numbering

Open in the interactive natives reference