networkHasEntityBeenRegisteredWithThisThread
NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD0xB07D3185E11657A5The GTA V native NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD of the NETWORK namespace, as LS:MP client scripts call it: the global function networkHasEntityBeenRegisteredWithThisThread, in JavaScript and in Lua.
networkHasEntityBeenRegisteredWithThisThread(entity: Entity): booleannetworkHasEntityBeenRegisteredWithThisThread(entity: Entity): booleanUsage
JavaScript
const result = networkHasEntityBeenRegisteredWithThisThread(entity);Lua
local result = networkHasEntityBeenRegisteredWithThisThread(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD(Entity entity)- Hash
0xB07D3185E11657A5