NetworkClient

setLocalPlayerInvisibleLocally

SET_LOCAL_PLAYER_INVISIBLE_LOCALLY0xE5F773C1A1D9D168

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

SignatureJavaScript
setLocalPlayerInvisibleLocally(bIncludePlayersVehicle: boolean): void
SignatureLua
setLocalPlayerInvisibleLocally(bIncludePlayersVehicle: boolean)

Usage

JavaScript
setLocalPlayerInvisibleLocally(bIncludePlayersVehicle);
Lua
setLocalPlayerInvisibleLocally(bIncludePlayersVehicle)

Parameters

ParameterTypeJavaScriptLua
bIncludePlayersVehicleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_LOCAL_PLAYER_INVISIBLE_LOCALLY(BOOL bIncludePlayersVehicle)
Hash
0xE5F773C1A1D9D168

Open in the interactive natives reference