# NPWD App for QB Lapraces. Requires NPWD 1.5.0 or higher.

## Make sure to have the newest version of `qb-lapraces`.

### Make sure you have OxMyql

## Install
1. Download the `npwd_qb_racing.zip` from releases. DO NOT CHANGE THE RESOURCE NAME. If you want to change it, you'll have to download the source code, alter `fetchNui.ts`, and build the project.
2. Unzip and add the resource to your server resources folder
3. Ensure `npwd_qb_racing` BEFORE `npwd`
4. Add app to NPWD config.json in the `apps` section `"apps": ["npwd_qb_racing"]`

## Preview - Active races, Setup, Tracks
![image](https://user-images.githubusercontent.com/32514829/186475340-27c744ce-ca92-4a80-aeb6-3e8c64ab3a48.png)
![image](https://user-images.githubusercontent.com/32514829/186475320-78d66bf4-187f-42bd-9561-5d0098ee7430.png)
![image](https://user-images.githubusercontent.com/32514829/186360719-51fc06a8-5b3a-429d-a9a0-413d38baddd0.png)

### Light mode
![image](https://user-images.githubusercontent.com/32514829/186474934-6847b8d0-a6f1-4903-a3bd-af13b973c613.png)
![image](https://user-images.githubusercontent.com/32514829/186474975-ec1209bd-2806-4870-a962-db333c0f633b.png)
![image](https://user-images.githubusercontent.com/32514829/186475011-e41e2da1-646c-4363-99c8-0282a0d67807.png)
![image](https://user-images.githubusercontent.com/32514829/186475090-ccb4fd6d-eac9-4049-b2bf-73ea6bf927f9.png)
![image](https://user-images.githubusercontent.com/32514829/186475155-9a64dec8-0ce8-45dc-9acc-5b10f40654d3.png)


#### PS: thanks sam cuz I stole this readme from npwd-qb-garages
