RedM Natives

NET_TO_VEH

Hash0x367B936610BA360C
Runtime nameNetToVeh
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x367B936610BA360C

Signature

Vehicle NET_TO_VEH(int netHandle);

Parameters

NameTypeDescription
netHandleint—

Returns Vehicle

Usage

Lua
local retval = NetToVeh(netHandle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x367B936610BA360C, netHandle, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = NetToVeh(netHandle);

// by hash
const retval = Citizen.invokeNative('0x367B936610BA360C', netHandle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x367B936610BA360C, netHandle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.