_0xF302AB9D978352EE
Returns the entity's network ID.
Hash
0xF302AB9D978352EERuntime name
N_0xf302ab9d978352eeNamespaceNETWORK
SideClient
NameHash only
Docs
Since build1207
Not called by the game's own scripts — behaviour may be incomplete.
Signature
int _0xF302AB9D978352EE(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns int
Description
Returns the entity's network ID.
Usage
local retval = N_0xf302ab9d978352ee(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF302AB9D978352EE, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0xf302ab9d978352ee(entity);
// by hash
const retval = Citizen.invokeNative('0xF302AB9D978352EE', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xF302AB9D978352EE, entity);- This native has no known name, so the runtime exposes it only as
N_0xf302ab9d978352ee(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.