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