NET_TO_ENT
gets the entity id of a network id
Hash
0xBFFEAB45A9A9094ARuntime name
NetToEntNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xBFFEAB45A9A9094ASignature
Entity NET_TO_ENT(int netHandle);Parameters
| Name | Type | Description |
|---|---|---|
netHandle | int | — |
Returns Entity
Description
gets the entity id of a network id
Usage
local retval = NetToEnt(netHandle)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBFFEAB45A9A9094A, netHandle, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetToEnt(netHandle);
// by hash
const retval = Citizen.invokeNative('0xBFFEAB45A9A9094A', netHandle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xBFFEAB45A9A9094A, netHandle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.