đŸ”Ŧ
RX Scripts
STOREDISCORD
  • 👋Overview
  • Find us
    • 🔗Store
    • 🔗Discord
    • 🔗Youtube
  • 🌐Scripts
    • Garages
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Reports PRO
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Mining
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Fishing
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Player Stores
      • đŸ› ī¸Installation
      • 🚚Jobs DLC
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Drug Labs
      • đŸ› ī¸Installation
      • âœˆī¸Operation DLC
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Hunting
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Plantation
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Gang Wars
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Šī¸Events
    • Housing
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Šī¸Events
    • Chopshop
      • đŸ› ī¸Installation
      • 📝Configurables
    • Death System
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Šī¸Events
    • Recyclers
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Smelters
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Crates & Storages
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Šī¸Exports
      • â†Šī¸Events
    • Black Markets
      • đŸ› ī¸Installation
      • 📝Configurables
    • Hazard Zones
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Report System
      • đŸ› ī¸Installation
      • 📝Configurables
      • â†Ēī¸Exports
      • â†Šī¸Events
    • Billing System
      • đŸ› ī¸Installation
      • â†Ēī¸Exports
      • â†Šī¸Events
Powered by GitBook
On this page
  • Client Side
  • Server Side
  1. Scripts
  2. Billing System

Exports

Exports can be requested at our discord! (https://discord.rxscripts.xyz/)

Client Side

PayInvoice(invoiceId, newAmount?)
Usage
exports['RxBilling']:PayInvoice(invoiceId, newAmount?)
SendInvoice(toPlayerId or toJobName, amount, reason?, isJobInvoice?)
Usage
-- sendTo: PlayerId or JobName
-- isJobInvoice: should be true if invoice is sent by job from the player 
exports['RxBilling']:SendInvoice(sendTo, amount, reason?, isJobInvoice?)

Server Side

GetInvoiceById(invoiceId)
Usage
exports['RxBilling']:GetInvoiceById(invoiceId)
GetPlayerInvoices(identifier, invoiceType, jobName)
Usage
-- invoiceType: 'incoming' | 'outgoing' | 'jobSent' | 'jobIncoming'
-- jobName: only required when using type jobSent or jobIncoming
exports['RxBilling']:GetPlayerInvoices(identifier, invoiceType, jobName?)
PayInvoice(playerId, invoiceId, newAmount?)
Usage
exports['RxBilling']:PayInvoice(playerId, invoiceId, newAmount?)
SendInvoice(toPlayerId or toJobName, amount, reason?, isJobInvoice?)
Usage
-- sendTo: PlayerId or Job Name
-- isJobInvoice: should be true if invoice is sent by job from the player (fromPlayerId) 
exports['RxBilling']:SendInvoice(fromPlayerId, sendTo, amount, reason?, isJobInvoice?)
PreviousInstallationNextEvents

Last updated 3 days ago

🌐
â†Ēī¸