NetworkClient

setNonParticipantsOfThisScriptAsGhosts

SET_NON_PARTICIPANTS_OF_THIS_SCRIPT_AS_GHOSTS0x13F1FCB111B820B0

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

SignatureJavaScript
setNonParticipantsOfThisScriptAsGhosts(p0: boolean): void
SignatureLua
setNonParticipantsOfThisScriptAsGhosts(p0: boolean)

Usage

JavaScript
setNonParticipantsOfThisScriptAsGhosts(p0);
Lua
setNonParticipantsOfThisScriptAsGhosts(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_NON_PARTICIPANTS_OF_THIS_SCRIPT_AS_GHOSTS(BOOL p0)
Hash
0x13F1FCB111B820B0
Introduced
Game build 877 legacy numbering

Open in the interactive natives reference