Drug script that has you fly a plane to pick up drugs. Offers a few config options to make it fit into most servers. Comes with an English and German translation.
IMPORTANT: YOU WILL HAVE TO PROTECT THE SERVER SIDE CODE YOURSELF
- ESX
- A working database
Install these like you would normally and set this in the config
Config.useMythic = true
Config.progBar = true
- Download the resource from GitHub
- Unzip it
- Put it in your resource folder
- Add "start erratic_coke" to your server.cfg
- Run coke.sql
- Done
- Config.Locale - English or German. More translations might follow
- Config.useMythic - Use mythic or not
- Config.progBar - Use Progress Bar or not
- Config.useCD - Use a global cooldown or not
- Config.cdTime - Time in ms you want the cooldown to be
- Config.price - Price you pay for starting a run
- Config.randBrick - Amount of coke you get from breaking bricks
- Config.takeBrick - Amount of bricks it takes when processing
- Open the locales folder
- Create a new file in the locales folder and name it "yourlanguage".lua
- Translate the locales from English/German to your preferred language
- Add "yourlanguage".lua to the client_scripts and server_scripts in the fxmanifest.lua
- Done
Your fxmanifest should look like this:
client_scripts {
'@es_extended/locale.lua',
'locales/de.lua',
'locales/en.lua',
'config.lua',
'client/erratic_coke_cl.lua'
}
server_scripts {
'@es_extended/locale.lua',
'locales/de.lua',
'locales/en.lua',
'config.lua',
'server/erratic_coke_sv.lua'
}