RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_LAST_PED_IN_VEHICLE_SEAT

GET_LAST_PED_IN_VEHICLE_SEAT

CFX

Signature

lua
GetLastPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), 0)
-- returns Entity

Parameters

NameTypeDescription
VehicleThe target vehicle.
intSee eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).

Usage

lua
GetLastPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details