Skip to content

Didn't see a public version of a coke plane. Decided to make my own and release it.

License

Notifications You must be signed in to change notification settings

DidrikxD/erratic_coke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erratic_coke

Video showcase

FiveM forum post

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


Prerequisites:

  • ESX
  • A working database

Optional resources:

Install these like you would normally and set this in the config

Config.useMythic = true
Config.progBar = true

Mythic_notify

Progress Bars 1.0

MLO used in the video


How to install:

  1. Download the resource from GitHub
  2. Unzip it
  3. Put it in your resource folder
  4. Add "start erratic_coke" to your server.cfg
  5. Run coke.sql
  6. Done

Config options:

  • 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

How to add more languages:

  1. Open the locales folder
  2. Create a new file in the locales folder and name it "yourlanguage".lua
  3. Translate the locales from English/German to your preferred language
  4. Add "yourlanguage".lua to the client_scripts and server_scripts in the fxmanifest.lua
  5. 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'
}

About

Didn't see a public version of a coke plane. Decided to make my own and release it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages