Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too fast #47

Closed
JakubLudvik opened this issue Jan 4, 2020 · 3 comments
Closed

Too fast #47

JakubLudvik opened this issue Jan 4, 2020 · 3 comments

Comments

@JakubLudvik
Copy link

JakubLudvik commented Jan 4, 2020

Hello, i have set on all cars 0.2 fuel, but it still go so fast, one second, one fuel. Config:

Config = {}

-- Are you using ESX? Turn this to true if you would like fuel & jerry cans to cost something.
Config.UseESX = true

-- What should the price of jerry cans be?
Config.JerryCanCost = 100
Config.RefillCost = 50 -- If it is missing half of it capacity, this amount will be divided in half, and so on.

-- Fuel decor - No need to change this, just leave it.
Config.FuelDecor = "_FUEL_LEVEL"

-- What keys are disabled while you're fueling.
Config.DisableKeys = {0, 22, 23, 24, 29, 30, 31, 37, 44, 56, 82, 140, 166, 167, 168, 170, 288, 289, 311, 323}

-- Want to use the HUD? Turn this to true.
Config.EnableHUD = true

-- Configure blips here. Turn both to false to disable blips all together.
Config.ShowNearestGasStationOnly = false
Config.ShowAllGasStations = true

-- Modify the fuel-cost here, using a multiplier value. Setting the value to 2.0 would cause a doubled increase.
Config.CostMultiplier = 1.0

-- Configure the strings as you wish here.
Config.Strings = {
ExitVehicle = "Exit the vehicle to refuel",
EToRefuel = "Press gE wto refuel vehicle",
JerryCanEmpty = "Jerry can is empty",
FullTank = "Tank is full",
PurchaseJerryCan = "Press gE wto purchase a jerry can for g$" .. Config.JerryCanCost,
CancelFuelingPump = "Press gE wto cancel the fueling",
CancelFuelingJerryCan = "Press gE wto cancel the fueling",
NotEnoughCash = "Not enough cash",
RefillJerryCan = "Press gE w to refill the jerry can for ",
NotEnoughCashJerryCan = "Not enough cash to refill jerry can",
JerryCanFull = "Jerry can is full",
TotalCost = "Cost",
}

if not Config.UseESX then
Config.Strings.PurchaseJerryCan = "Press gE wto grab a jerry can"
Config.Strings.RefillJerryCan = "Press gE w to refill the jerry can"
end

Config.PumpModels = {
[-2007231801] = true,
[1339433404] = true,
[1694452750] = true,
[1933174915] = true,
[-462817101] = true,
[-469694731] = true,
[-164877493] = true
}

-- Blacklist certain vehicles. Use names or hashes. https://wiki.gtanet.work/index.php?title=Vehicle_Models
Config.Blacklist = {
--"Adder",
--276773164
}

-- Do you want the HUD removed from showing in blacklisted vehicles?
Config.RemoveHUDForBlacklistedVehicle = true

-- Class multipliers. If you want SUVs to use less fuel, you can change it to anything under 1.0, and vise versa.
Config.Classes = {
[0] = 0.2, -- Compacts
[1] = 0.2, -- Sedans
[2] = 0.2, -- SUVs
[3] = 0.2, -- Coupes
[4] = 0.2, -- Muscle
[5] = 0.2, -- Sports Classics
[6] = 0.2, -- Sports
[7] = 0.2, -- Super
[8] = 0.2, -- Motorcycles
[9] = 0.2, -- Off-road
[10] = 0.2, -- Industrial
[11] = 0.2, -- Utility
[12] = 0.2, -- Vans
[13] = 0.0, -- Cycles
[14] = 0.2, -- Boats
[15] = 0.2, -- Helicopters
[16] = 0.2, -- Planes
[17] = 0.2, -- Service
[18] = 0.2, -- Emergency
[19] = 0.2, -- Military
[20] = 0.2, -- Commercial
[21] = 0.2, -- Trains
}

-- The left part is at percentage RPM, and the right is how much fuel (divided by 10) you want to remove from the tank every second
Config.FuelUsage = {
[0.2] = 0.2,
[0.9] = 0.2,
[0.8] = 0.2,
[0.7] = 0.2,
[0.6] = 0.2,
[0.5] = 0.2,
[0.4] = 0.2,
[0.3] = 0.2,
[0.2] = 0.2,
[0.1] = 0.1,
[0.0] = 0.0,
}

Config.GasStations = {
vector3(49.4187, 2778.793, 58.043),
vector3(263.894, 2606.463, 44.983),
vector3(1039.958, 2671.134, 39.550),
vector3(1207.260, 2660.175, 37.899),
vector3(2539.685, 2594.192, 37.944),
vector3(2679.858, 3263.946, 55.240),
vector3(2005.055, 3773.887, 32.403),
vector3(1687.156, 4929.392, 42.078),
vector3(1701.314, 6416.028, 32.763),
vector3(179.857, 6602.839, 31.868),
vector3(-94.4619, 6419.594, 31.489),
vector3(-2554.996, 2334.40, 33.078),
vector3(-1800.375, 803.661, 138.651),
vector3(-1437.622, -276.747, 46.207),
vector3(-2096.243, -320.286, 13.168),
vector3(-724.619, -935.1631, 19.213),
vector3(-526.019, -1210.203, 18.184),
vector3(-70.2148, -1761.792, 29.534),
vector3(265.648, -1261.309, 29.292),
vector3(819.653, -1028.846, 26.403),
vector3(1208.951, -1402.567,35.224),
vector3(1181.381, -330.847, 69.316),
vector3(620.843, 269.100, 103.089),
vector3(2581.321, 362.039, 108.468),
vector3(176.631, -1562.025, 29.263),
vector3(176.631, -1562.025, 29.263),
vector3(-319.292, -1471.715, 30.549),
vector3(1784.324, 3330.55, 41.253)
}

@AwayFromKane
Copy link

Hello sir,

My problem was a speedometer.
I disabled it and it was fixed.

@yagizher
Copy link

So please close the issue :)

@InZidiuZ
Copy link
Owner

InZidiuZ commented Jan 7, 2022

Closing as it seems the author figured out their problem.

@InZidiuZ InZidiuZ closed this as completed Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants