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