GET_VEHICLE_NUMBER_OF_PASSENGERS
Gets the number of passengers, NOT including the driver. Use IS_VEHICLE_SEAT_FREE(Vehicle, -1) to also check for the driver
VEHICLEBuild 1207
Signature
lua
GetVehicleNumberOfPassengers(GetVehiclePedIsIn(PlayerPedId(), false))
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — |
Usage
lua
GetVehicleNumberOfPassengers(GetVehiclePedIsIn(PlayerPedId(), false))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
