Configuration
The Config File will allow you to set the various settings required to get the resource working as designed but adapted for your servers needs.
Config = {}
Config.Core = "qb-core" -- replace "qb-core" with the name of your core resource
Config.Radius = 2.0
Config.ChargedUIFade = 3000
Config.ChargeAmount = 100
Config.ChargeTime = 500
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
Config.VehiclesToCharge = {
'buffalo5',
'caddy',
'caddy2',
'caddy3',
'cyclone',
'iwagen',
'imorgon',
'khamelion',
'coureur',
'neon',
'omnisegt',
'powersurge',
'raiden',
'surge',
'tezeract',
'virtue',
'voltic',
-- Add more vehicles here!!
}
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
---βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ---
Config.ChargingZones = {
{x = 278.39, y = -1241.34, z = 28.79}, -- Solar Gateways Davis
{x = 281.66, y = -1241.38, z = 28.80}, -- Solar Gateways Davis
{x = 243.89, y = -1415.44, z = 30.17}, -- Solar Gateways Davis Driving School
{x = 240.81, y = -1413.44, z = 30.17}, -- Solar Gateways Davis Driving School
{x = 237.87, y = -1411.45, z = 30.17}, -- Solar Gateways Davis Driving School
{x = 408.30, y = -980.07, z = 28.86}, -- Solar Gateways Sinner Street PD
{x = 408.16, y = -984.44, z = 28.85}, -- Solar Gateways Sinner Street PD
{x = 408.07, y = -988.69, z = 28.85}, -- Solar Gateways Sinner Street PD
{x = 408.23, y = -993.44, z = 28.85}, -- Solar Gateways Sinner Street PD
{x = 408.30, y = -998.14, z = 28.85}, -- Solar Gateways Sinner Street PD
{x = 408.35, y = -1003.51, z = 28.85}, -- Solar Gateways Sinner Street PD
{x = 204.18, y = -846.60, z = 30.11}, -- Solar Gateways Legion Layby
{x = 208.00, y = -848.11, z = 30.01}, -- Solar Gateways Legion Layby
{x = 221.21, y = -852.92, z = 29.68}, -- Solar Gateways Legion Layby
{x = 225.20, y = -854.46, z = 29.58}, -- Solar Gateways Legion Layby
{x = 238.47, y = -859.28, z = 29.24}, -- Solar Gateways Legion Layby
{x = 242.70, y = -860.52, z = 29.14}, -- Solar Gateways legion Layby
{x = 231.02, y = -368.27, z = 43.76}, -- Solar Gateways Pillbox Courthouse
{x = 235.75, y = -369.78, z = 43.82}, -- Solar Gateways Pillbox Courthouse
{x = 240.96, y = -371.61, z = 43.88}, -- Solar Gateways Pillbox Courthouse
{x = 252.99, y = -375.63, z = 44.06}, -- Solar Gateways Pillbox Courthouse
{x = 257.79, y = -377.22, z = 44.16}, -- Solar Gateways Pillbox Courthouse
{x = 263.65, y = -379.65, z = 44.26}, -- Solar Gateways Pillbox Courthouse
{x = 1567.08, y = 813.42, z = 77.49}, -- Solar Gateways Services
{x = 1568.78, y = 816.22, z = 77.49}, -- Solar Gateways Services
{x = 1570.40, y = 818.96, z = 77.49}, -- Solar Gateways Services
{x = 1568.78, y = -301.14, z = 12.38}, -- Solar Gateways Vespucci
{x = -2078.11, y = -301.51, z = 12.45}, -- Solar Gateways Vespucci
-- Add more locations as needed
}
Last updated