RedM Natives

NETWORK_GET_ENTITY_IS_NETWORKED

Hash0xC7827959479DCC78
Runtime nameNetworkGetEntityIsNetworked
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC7827959479DCC78

Signature

BOOL NETWORK_GET_ENTITY_IS_NETWORKED(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = NetworkGetEntityIsNetworked(entity)

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

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

Sources

alloc8or RDR3 NativeDB

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