NET_TO_PED
Returns the ped handle for the given network id.
Signature
Ped NET_TO_PED(int netHandle); // 0xBDCD95FC216A8B3E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | netHandle | int |
Facts
| Name | NET_TO_PED |
|---|---|
| Hash | 0xBDCD95FC216A8B3E |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xBDCD95FC216A8B3E, -- NET_TO_PED
0, -- int netHandle
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xBDCD95FC216A8B3E", // NET_TO_PED
0, // int netHandle
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xBDCD95FC216A8B3E, // NET_TO_PED
0 // int netHandle
);Related NETWORK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.