networkGetEntityIsLocal
NETWORK_GET_ENTITY_IS_LOCAL0x0991549DE4D64762The 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.
networkGetEntityIsLocal(entity: Entity): booleannetworkGetEntityIsLocal(entity: Entity): booleanUsage
JavaScript
const result = networkGetEntityIsLocal(entity);Lua
local result = networkGetEntityIsLocal(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_GET_ENTITY_IS_LOCAL(Entity entity)- Hash
0x0991549DE4D64762