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 {
    'config.lua',
    'translations/en.lua' --CHOOSE YOUR LANGUAGE, YOU CAN ADD OTHERS
}

3) On the 3th 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.Active

Don't touch

Config.Blackout
Config.Blackout = {
    ["airraid"] = {
        affectVehicles = false,
        soundEffect = true,
        soundName = 'lumio_airraid',
        soundVolume = 10.0,
        pattern = { 250, 150, 100, 100, 50, 50, 100, 150, 50, 50, 100 }
    },
}

Variables:

["airraid"]: any string

  • The name of the command ingame and type of blackout

affectVehicles : true or false

  • Disable vehicle lights too (true) or not (false)

soundEffect: true or false

  • Play sound effect (true) or not (false)

soundName: any name of the sound in interact-sound

  • The sound needs to be present in interact-sound

pattern: pattern for the blackout

  • The wait times between lights off & on. So off on off on off on and between these are the wait times you specify. This requires some testing in game to perfect.

For developers

Read FAQ

Last updated