# Client

## GetPedsInVehicle

Function to get all peds in the given vehicle

```lua
function HRLib.GetPedsInVehicle(vehicle: integer): integer[]?
```

Parameters description

* `vehicle` - the vehicle Id to use when getting the peds
