NetworkClient

setEntityLocallyVisible

SET_ENTITY_LOCALLY_VISIBLE0x241E289B5C059EDC

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

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

Usage

JavaScript
setEntityLocallyVisible(entity);
Lua
setEntityLocallyVisible(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_ENTITY_LOCALLY_VISIBLE(Entity entity)
Hash
0x241E289B5C059EDC

Open in the interactive natives reference