GET_VEHICLE_PED_IS_USING
Returns the vehicle ped is using, including one it is entering or exiting.
Signature
Vehicle GET_VEHICLE_PED_IS_USING(Ped ped); // 0x6094AD011A2EA87D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| 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.
local vehicle = Citizen.InvokeNative(0x6094AD011A2EA87D, -- GET_VEHICLE_PED_IS_USING
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(vehicle)const vehicle = Citizen.invokeNative("0x6094AD011A2EA87D", // GET_VEHICLE_PED_IS_USING
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(vehicle)int vehicle = Function.Call<int>((Hash)0x6094AD011A2EA87D, // GET_VEHICLE_PED_IS_USING
API.PlayerPedId() // Ped ped
);Related PED natives
- GET_VEHICLE_PED_IS_ENTERING
- GET_VEHICLE_PED_IS_IN
- GET_SEAT_PED_IS_USING
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
- GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION
- GET_PED_IS_BEING_GRAPPLED
- GET_PED_IS_DOING_COMBAT_ROLL
- GET_PED_IS_GRAPPLING
- GET_PLAYER_PED_IS_FOLLOWING
- GET_SEAT_PED_IS_TRYING_TO_ENTER
- _GET_FIRST_ENTITY_PED_IS_CARRYING
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.