NetworkClient

networkGetEntityIsLocal

NETWORK_GET_ENTITY_IS_LOCAL0x0991549DE4D64762

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

SignatureJavaScript
networkGetEntityIsLocal(entity: Entity): boolean
SignatureLua
networkGetEntityIsLocal(entity: Entity): boolean

Usage

JavaScript
const result = networkGetEntityIsLocal(entity);
Lua
local result = networkGetEntityIsLocal(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_GET_ENTITY_IS_LOCAL(Entity entity)
Hash
0x0991549DE4D64762

Open in the interactive natives reference