NetworkClient

setEntityLocallyInvisible

SET_ENTITY_LOCALLY_INVISIBLE0xE135A9FF3F5D05D8

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

SignatureJavaScript
setEntityLocallyInvisible(entity: Entity): void
SignatureLua
setEntityLocallyInvisible(entity: Entity)

Usage

JavaScript
setEntityLocallyInvisible(entity);
Lua
setEntityLocallyInvisible(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Makes the provided entity visible for yourself for the current frame.

Reference

Namespace
Network NETWORK
In the game
void SET_ENTITY_LOCALLY_INVISIBLE(Entity entity)
Hash
0xE135A9FF3F5D05D8

Open in the interactive natives reference