# Client

{% hint style="warning" %}
These vehicle properties are taken from [overextended/ox\_lib](https://overextended.dev/ox_lib)
{% endhint %}

## GetVehicleProperties

Function to get a vehicle's properties

```lua
function HRLib.GetVehicleProperties(vehicle: integer): HRLibVehicleProperties?
```

Parameters description

* `vehicle` - the vehicle's id

## SetVehicleProperties

Function to set given vehicle properties to vehicle

```lua
function HRLib.SetVehicleProperties(
    vehicle: integer,
    props: HRLibVehicleProperties,
    fixVehicle: boolean?
)
```

Parameters description

* `vehicle` - the vehicle's id
* `props` - the properties to set onto the given vehicle
* `fixVehicle` - sets whether or not the vehicle must be fixed after props have been set. Usually required when adding extras.
