Custom cash register spawning support built in

This commit is contained in:
Jim Shield
2022-07-19 14:52:02 +01:00
committed by GitHub
parent d77d23e635
commit 9c1953ab92
3 changed files with 44 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ print("^2Jim^7-^2Payments v^42^7.^47 ^7- ^2Payments Script by ^1Jimathy^7")
-- https://discord.gg/xKgQZ6wZvS
Config = {
Debug = false,
Debug = true,
Manage = true, -- "true" if using qb-management
-- "false" if using qb-bossmenu
@@ -50,8 +50,8 @@ Config = {
Commission = true, -- Set this to true to enable Commissions and give the person charging a percentage of the total
CommissionAll = false, -- Set this to true to give commission to workers clocked in
CommissionDouble = false, -- Set this to true if you want the person charging to get double Commission
CommissionLimit = false, -- If true, this limits the Commission to only be given if over the "MinAmountForTicket".
-- If false, Commission will be given for any amount
CommissionLimit = false, -- If true, this limits the Commission to only be given if over the "MinAmountForTicket".
-- If false, Commission will be given for any amount
Gabz = false, -- "true" to enable Gabz Bank locations
@@ -68,9 +68,15 @@ Config = {
['tequilala'] = { MinAmountforTicket = 50, PayPerTicket = 50, Commission = 0.10, },
['vanilla'] = { MinAmountforTicket = 50, PayPerTicket = 50, Commission = 0.10, },
['mechanic'] = { MinAmountforTicket = 1000, PayPerTicket = 500, Commission = 0.10, },
['lostmc'] = { MinAmountforTicket = 50, PayPerTicket = 50, Commission = 0.10, gang = true, },
['lostmc'] = { MinAmountforTicket = 50, PayPerTicket = 50, Commission = 0.10, gang = true, }, -- Example of a gang being supported
},
-- This adds the ability to add multiple locations for each job
-- Basically adding ready made locations, all you need to a vector4 and to confrim if you need a new prop in that location
CustomCashRegisters = {
},
-- The /polcharge command requires specific jobs to be set
-- No tickets for these, it's just commission
FineJobs = {