A Simple QBCore Tax System
- First add this to resources folder and ensure in
server.cfg
- Change Config values in
cad-tax/shared.lua
to your liking. - Done
exports["cad-tax"]:GetCurrentTax(src, type) -- Get Current Tax percent for the type ["vehicle", "house", "income"]
exports["cad-tax"]:PlayersTax() -- Run this tax manually
exports["cad-tax"]:CarsTax() -- Run this tax manually
exports["cad-tax"]:HousesTax() -- Run this tax manually