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:
3) On the 3th line you see locales/en.lua
this stands for English. So if you want French for example you choose fr.lua
instead of en.lua
. This is possible because fr.lua
is already present in the 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:
Charging zones
There is only one default zone, this because the map comes with only one chargepoint. You can easily add new zones like this.
Fueling dependency
We support LegacyFuel, gks-fuel and ps-fuel by default.
Last updated