The Lab
NETWORK native

NET_TO_VEH

returns Vehicle1 parambuild 1207

Returns the vehicle handle for the given network id.

Signature

C
Vehicle NET_TO_VEH(int netHandle); // 0x367B936610BA360C b1207

Parameters

#NameType
1netHandleint

Facts

Facts about NET_TO_VEH
Name
NET_TO_VEH
Hash
0x367B936610BA360C
Namespace
Returns
Vehicle
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local vehicle = Citizen.InvokeNative(0x367B936610BA360C, -- NET_TO_VEH
  0, -- int netHandle
  Citizen.ResultAsInteger()
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0x367B936610BA360C", // NET_TO_VEH
  0, // int netHandle
  Citizen.resultAsInteger()
);
console.log(vehicle)
C#
int vehicle = Function.Call<int>((Hash)0x367B936610BA360C, // NET_TO_VEH
  0 // int netHandle
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.