The Lab
PED native

GET_VEHICLE_PED_IS_USING

returns Vehicle1 parambuild 1207

Returns the vehicle ped is using, including one it is entering or exiting.

Signature

C
Vehicle GET_VEHICLE_PED_IS_USING(Ped ped); // 0x6094AD011A2EA87D b1207

Parameters

#NameType
1pedPed

Facts

Facts about GET_VEHICLE_PED_IS_USING
Name
GET_VEHICLE_PED_IS_USING
Hash
0x6094AD011A2EA87D
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(0x6094AD011A2EA87D, -- GET_VEHICLE_PED_IS_USING
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0x6094AD011A2EA87D", // GET_VEHICLE_PED_IS_USING
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(vehicle)
C#
int vehicle = Function.Call<int>((Hash)0x6094AD011A2EA87D, // GET_VEHICLE_PED_IS_USING
  API.PlayerPedId() // Ped ped
);
All PED natives

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