Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Debux = {}
- Debux.Framework = "auto" -- Determines which framework to use: auto, esx, or qb
- Debux.Distance = 4.0 -- indicates how close you are to the pump
- Debux.Language = "en" -- en, de, fr, sp
- Debux.FuelUse = 0.4 -- this is how many liters of gasoline the vehicle will use every 10 seconds.
- Debux.Locales = {
- ["en"] = {
- no_money = "You have no money.",
- success = "You successfully bought fuel.",
- open = "Open Fuel System",
- full = "Gasoline Depous is already full",
- },
- ["de"] = {
- no_money = "Du hast kein Geld.",
- success = "Du hast erfolgreich Treibstoff gekauft.",
- open = "Kraftstoffsystem öffnen",
- full = "Benzindepous ist bereits voll",
- },
- ["fr"] = {
- no_money = "Vous n'avez pas d'argent.",
- success = "Vous avez acheté du carburant avec succès.",
- open = "Ouvrir le système de carburant",
- full = "Le dépôt d'essence est déjà plein",
- },
- ["sp"] = {
- no_money = "No tienes dinero.",
- success = "Has comprado combustible con éxito.",
- open = "Abrir sistema de combustible",
- full = "Petrol Depous ya está lleno",
- }
- }
- Debux.Pumpmodels = {
- "prop_gas_pump_old2",
- "prop_gas_pump_old3",
- "prop_gas_pump_1a",
- "prop_gas_pump_1b",
- "prop_gas_pump_1c",
- "prop_gas_pump_1d"
- }
- Debux.Price = {
- ["regular"] = 10,
- ["doped"] = 30,
- ["super"] = 50,
- ["max"] = 80
- }
- Debux.Category = {
- [0] = "regular",
- [1] = "regular",
- [2] = "regular",
- [3] = "regular",
- [4] = "doped",
- [5] = "regular",
- [6] = "super",
- [7] = "max",
- [8] = "regular",
- [9] = "regular",
- [10] = "regular",
- [11] = "regular",
- [12] = "regular",
- [13] = "regular",
- [14] = "regular",
- [15] = "regular",
- [16] = "regular",
- [17] = "regular",
- [18] = "regular",
- ["electro"] = "electro"
- }
- Debux.electricCars = {
- "TEZERACT",
- "neon"
- }
- function getFramework()
- if Debux.Framework == "esx" then
- return exports['es_extended']:getSharedObject(), "esx"
- elseif Debux.Framework == "qb" then
- return exports["qb-core"]:GetCoreObject(), "qb"
- elseif Debux.Framework == "auto" then
- if GetResourceState('qb-core') == 'started' then
- return exports["qb-core"]:GetCoreObject(), "qb"
- elseif GetResourceState('es_extended') == 'started' then
- return exports['es_extended']:getSharedObject(), "esx"
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment