👮 Adding more police departments
We recommend configuring the resource on your computer and then uploading it to your server. This will save you a lot of time.
- Node.js and npm on your computer
- Make sure you have
npminstalled on your machine.
- Go to the
web/src/components/App.tsxfile and locate the
const departmentsvariable. Follow the existing format to add more departments.
- Install the necessary dependencies using
npmby running the command
npm iin the
- Build the application by running
npm run build.
- Navigate to the
server/server.luafolder and find the
if department == "lspd" then ...line.
- To add more departments, use simple
- After making changes, remember to build the application and delete the
- Finally, upload the script to your server.