Domas Scripts
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Exports & Usage
Copy Markdown
Open in ChatGPT
Open in Claude
Create Bill (Online Player)
Lua
exports["Domas_Billing"]:CreateExternalBill({ target = 19, -- Server ID amount = 500, reason = "Late Submission", society = "police", author_identifier = "steam:110000112345678", author_name = "John Admin", deadline = "2025-06-25", -- optional appealable = 1, -- optional transferable = 0, -- optional -- playerCut/societyCut optional; otherwise taken from config})Create Bill (Offline Player)
Lua
exports["Domas_Billing"]:CreateExternalBillOffline({ identifier = "AED70434", amount = 10000, reason = "Late loan payment", society = "police", author_identifier = "SERVER", author_name = "AutoSystem", appealable = 0, transferable = 0,})Open menu (Client Side)
Lua
exports["Domas_Billing"]:OpenBillingMenu()Open menu (Server Side)
Lua
exports["Domas_Billing"]:OpenBillingMenuFromServer(source)Get how much this player has created bills
Lua
local count = exports['Domas_Billing']:GetPlayerSentBills('CITIZENID')Get how much player has created bills (money)
Lua
local paidTotal = exports['Domas_Billing']:GetPlayerSentBillsAmount('AED70434', 'paid')local unpaidTotal = exports['Domas_Billing']:GetPlayerSentBillsAmount('AED70434', 'unpaid')Get job stats
Lua
local stats = exports['Domas_Billing']:GetBillingStatsByJob('police')if stats then print("Total bills: " .. stats.total_bills) print("Paid bills: " .. stats.total_paid) print("Total money got" .. stats.total_money_got)else print("No stats")endGet how much unpaid bills there are for society
Lua
exports['Domas_Billing']:GetUnpaidAndAppealedBillCountBySociety('police')Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
ImagesDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message