Configs

All values are properly described in their respective config files.

There are multiple configuration files that you can adjust to suit your preferences. In most cases, you will only need to modify the config.lua file located in the root folder.

However, there are additional configuration files that should only be changed if you are familiar with their specific purposes:

  • data/locales/en.lua Localization strings for the resource.

  • data/maps/mapName.lua Configuration settings specific to each map.

  • configs/outfits.lua Define your police outfits.

  • configs/sconfig.lua Define your webhook for police logs.

  • configs/fines.lua Define your fines.

  • configs/fake_vehicle_info.lua Settings related to fake vehicle information.

  • configs/weapons.lua Configuration for the Department Weapon shop.

  • modules/nui/web/build/config.js Localization for the UI elements.

Best Practices

  • Backup Before Making Changes: Always create a backup of any configuration file before making modifications. This ensures you can revert to the original settings if something goes wrong.

  • Understand the Configuration: Before editing a config file, make sure you understand what each setting does. Refer to the specific config file's documentation for detailed explanations.

  • Test After Changes: After modifying any configuration file, test the changes in a controlled environment to ensure they work as expected without causing issues.

Last updated

Was this helpful?