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.TimeToOpen

Time to open a certain box or case, this is in miliseconds.

Config.MainHackIcons

Amount of icons show up on the hack, more = more difficult.

Config.MainHackSpeed

Time players have to fill in the correct color for each icon on the hack.

Config.RequiredForMainHack

Item that is required to hack.

Config.RequiredCops

Speaks for itself, amount of cops required in order to start the robbery/hack.

Config.Cooldown

Time it takes to reset the robbery, in this timespan nobody can rob it until cooldown is over. This is in minutes.

Config.MapDestination (non Gabz users)

The location where the ped spawns with the katana and puts a waypoint to.

Changing rewards when opening box

Go to lumio-ammunationrobbery > server > sv_main.lua

  • Do not change ['weapon'], ['attachment'], ['armor'], ['katana'], ['throwable'] or ['melee']

  • You can only change the item names that are after name =

  • I suggest to put the maxAmount on 1 when it's a weapon

Last updated