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.
Newer ESX version
Go to the config.lua
and look for Config.Locale
. Once you found that you can change the letters according to the file in the locales directory
. Leave Config.EsxLegacy
on false
.
For example if you want it to use Dutch, do this:
Older ESX version
Change Config.TranslateCap
to true
.
Find this and choose your language, all languages found in locales
folder.
Adding a new vehicle to charge
In the config.lua
you'll find a list of electric vehicles, these vehicles are able to charge but not able to get refuelled. If you want to add a vehicle you simply add a new line with your vehicle!
Vehicle behaviour
In the config we can adjust how the vehicle behaves. There are 3 configurable parameters:
Recharging configuration
Charging zones
There is only one default zone, this because the map comes with only one chargepoint. You can easily add new zones.
zone = {}
-> The big zone of the whole chargestationchargers = {}
-> Zone of the chargers where control is enabled to charge
Last updated