Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TicketBook.Config = {}
- TicketBook.Config.Core = {}
- TicketBook.Config.TB = {}
- TicketBook.Config.Fine = {}
- TicketBook.Config.Punish = {}
- TicketBook.Config.Police = {}
- -- If you run into any issues and the addon throws errors at you, contact me through a support ticket, or add me on steam.
- /*
- ==================================
- This is the config for Ticket Book
- ==================================
- */
- -- The font for the UI
- TicketBook.Config.Core.Font = "Calibri"
- -- The color of the prefix in the chat messages
- TicketBook.Config.Core.ChatPrefixColor = Color(200,50,100)
- -- The prefix for the chat messages
- TicketBook.Config.Core.ChatPrefix = "Ticket Book"
- -- Cool down for attempting to ticket (Suggestion: Keep less than 5)
- TicketBook.Config.TB.CoolDown = 2
- -- The max distance you can be from a player to fine them
- TicketBook.Config.TB.MaxDistance = 300
- -- The max fine you can give
- TicketBook.Config.Fine.Max = 20000
- -- Give the Officer the money the player is fined?
- TicketBook.Config.Fine.GiveOff = true
- -- If the above is true, what % do they get of the fine amount? (0=0%, 0.5=50% 1=100%, ect)
- TicketBook.Config.Fine.PerRec = 0.6
- -- Should the player be jailed if they do not pay the fine? (If this is true, it will ignore the wanted settings below.)
- TicketBook.Config.Punish.Jail = false
- -- If the above is true, how long are they jailed for? (seconds)
- TicketBook.Config.Punish.JailTime = 120
- -- Make the player wanted if they do not pay the fine?
- TicketBook.Config.Punish.Wanted = true
- -- If above is true, what should the wanted message be?
- TicketBook.Config.Punish.Reason = "Refuse de payer l'amende"
- -- Should other government be ticketable?
- TicketBook.Config.Police.TicketPolice = false
- -- If above is false, what jobs are government
- TicketBook.Config.Police.ConsideredPolice = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- [TEAM_SWAT] = true,
- [TEAM_CHEFSWAT] = true,
- [TEAM_SA] = true,
- [TEAM_PRISON] = true,
- [TEAM_RAID] = true,
- [TEAM_MAYOR] = true
- }
- --TicketBook.Config.Police.ConsideredPolice[TEAM_CITIZEN] = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement