_0x4538EE7C321590BC
Returns the entity associated with the given network ID.
Hash
0x4538EE7C321590BCRuntime name
N_0x4538ee7c321590bcNamespaceNETWORK
SideClient
NameHash only
Docs
Since build1207
Not called by the game's own scripts — behaviour may be incomplete.
Signature
Entity _0x4538EE7C321590BC(int networkId);Parameters
| Name | Type | Description |
|---|---|---|
networkId | int | — |
Returns Entity
Description
Returns the entity associated with the given network ID.
Usage
local retval = N_0x4538ee7c321590bc(networkId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4538EE7C321590BC, networkId, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x4538ee7c321590bc(networkId);
// by hash
const retval = Citizen.invokeNative('0x4538EE7C321590BC', networkId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x4538EE7C321590BC, networkId);- This native has no known name, so the runtime exposes it only as
N_0x4538ee7c321590bc(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.