RedM Natives

NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD

Hash0xB07D3185E11657A5
Runtime nameNetworkHasEntityBeenRegisteredWithThisThread
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB07D3185E11657A5

Signature

BOOL NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = NetworkHasEntityBeenRegisteredWithThisThread(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB07D3185E11657A5, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkHasEntityBeenRegisteredWithThisThread(entity);

// by hash
const retval = Citizen.invokeNative('0xB07D3185E11657A5', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB07D3185E11657A5, entity);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.