Skip to content

loaf-scripts/loaf_billing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loaf Billing - FiveM Invoice / Billing Script for ESX & QBCore

example invoice

Features

  • NUI, not only pressing a button in a menu
  • Interest - pay x% extra for each day you haven't signed
  • Signature - you need to actually sign the invoice, and this signature can be saved
  • Transfer invoice - you can send your invoice to other players so they can view it (they will not be able to sign it)
  • An event, loaf_billing:bill_paid containing all data, will be triggered upon payment

Configuration

You can translate the script in shared/language.lua
You can set your Imgur API key in server/config.lua

All other configurations are done in shared/config.lua

  • Framework - the framework you use, esx or qb
  • ReplaceESXBilling - add esx_billing:sendBill event?
  • Command - the command to open the menu
  • Keybind - keybind options
  • UseRPName - should the transfer menu show the in-game name, or the Steam/FiveM name?
  • MinAmount - the minimum amount when creating an invoice
  • MaxAmount - the maximum amount when creating an invoice
  • Signature - signature options
    • SaveSignature - should the signature be saved? note: sends base64 from client --> server which may cause server lag
    • SaveAs - how should the signature be saved? imgur or base64

Requirements

About

loaf_billing - FiveM Billing / invoice script for ESX & QBCore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published