Skip to content

Commit

Permalink
General Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Codine authored Sep 10, 2022
1 parent 93048a7 commit 76e69e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/server.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
-- Variables

local QBCore = exports['qb-core']:GetCoreObject()

-- Functions

local function GlobalTax(value)
local tax = (value / 100 * Config.GlobalTax)
return tax
end

-- Server Events

RegisterNetEvent("cdn-fuel:server:OpenMenu", function(amount, inGasStation, hasWeapon, purchasetype)
local src = source
if not src then return end
Expand Down Expand Up @@ -56,4 +53,4 @@ RegisterNetEvent("cdn-fuel:server:PayForFuel", function(amount, purchasetype)
else
player.Functions.RemoveMoney(moneyremovetype, total)
end
end)
end)

0 comments on commit 76e69e0

Please sign in to comment.