Page cover image

🛠️Configuration

Let's configure your new script to your liking!

Language

There are a few default languages that come with the script. You can easily add your own language or just translate one of the default ones. Let me show you how to choose your language.

1) Go to the fxmanifest.lua and look for shared_scripts.

2) You will find this on that spot:

shared_scripts {
    'translations/en.lua', --Choose a language, you can add some yourself if you want
    'config.lua'
}

3) On the 2nd line you see translations/en.lua this stands for English. So if you want Dutch for example you choose nl.lua instead of en.lua. This is possible because nl.lua is already present in the translations folder.

Configurations

Config.Sound

Sound that is played when a player has a blacklisted item on hand. You can find all the sounds in interact-sound > client > html > sounds

Config.Range

Range where the sounds will be heard, no exact unit (play around a bit)

Config.Volume

Volume of the sound, no exact unit (play around a bit)

Config.BoxSize

Amount of slots in the box next to the detector.

Config.AlarmItems

Items that trigger the alarm.

Last updated