> For the complete documentation index, see [llms.txt](https://legacydmc.gitbook.io/chaser/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacydmc.gitbook.io/chaser/set-exports/chaser_setdifferential.md).

# chaser\_setdifferential

Set’s a Differential on the current vehicle, example:\
\
(P.S: frontlock,rearlock are legacy options, which don't do anything anymore. you can set then to whatever int value.)

```lua
chaser:chaser_setdifferential(data.hasdifferential,tonumber(data.frontdifflockprct),tonumber(data.reardifflockprct))
```
