RedM Natives

GET_VEHICLE_PED_IS_USING

Hash0x6094AD011A2EA87D
Runtime nameGetVehiclePedIsUsing
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x6094AD011A2EA87D

Signature

Vehicle GET_VEHICLE_PED_IS_USING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Vehicle

Usage

Lua
local retval = GetVehiclePedIsUsing(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6094AD011A2EA87D, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetVehiclePedIsUsing(ped);

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

Sources

alloc8or RDR3 NativeDB

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