Links

Snippets

Create custom invoices

TriggerServerEvent("okokBilling:CreateCustomInvoice", target, price, reason, invoiceSource, society, societyName)

Variables:

target: xTarget.source
price: 500
reason: Speeding
invoiceSource: Highway Radar
society: police (you can remove this in case you want no society to receive money)
societyName: LSPD (you can remove this in case you want no society to receive money)

Event to open the My Invoices menu (client side)

TriggerEvent("okokBilling:ToggleMyInvoices")

Event to open the Create Invoice menu (client side)

TriggerEvent("okokBilling:ToggleCreateInvoice")