OSP Development
Ambulance Job
Ambulance Job
  • 👋Welcome to OSP Development
  • Overview
    • 💡Showcase
  • In-Game Use
    • 📪Overview
    • 🛏️Stretcher
    • 📺ICU Screens
    • 🎒Medical Equipment
    • 🩻Xray
    • Skelly
  • Developer usage
    • 📞Dispatch Integration
    • 👨‍💻Developer Usage
    • 💀isDead function
    • 💉Custom Medication
    • FFA/Paintball Integration
    • Inventory Items
    • society/banking exports
    • Custom Deathscreen
  • FAQ
    • ❌Issues
    • ❓General
Powered by GitBook
On this page
  1. Developer usage

society/banking exports

How do you change society/banking exports?

If you're using something else than qb-banking for your society system, you'll need to replace those exports to work with yours.

In server_open.lua use CTRL + F and search either for qb-management or qb-banking depending on your config setup and replace those exports with ones that your banking system uses. Got into your banking systems docs and look for something like an AddMoney export/trigger event for society.

For example in okokBanking the export looks like this:

exports['okokBanking']:AddMoney(society, value)

To simply input the arguments that the export in server_open.lua had, which would make the export look like this:

-- exports['qb-management']:AddMoney("ambulance", Config.BillCost) -- The old Export that should get replaced with your custom one. 
exports['okokBanking']:AddMoney("ambulance", Config.BillCost)
PreviousInventory ItemsNextCustom Deathscreen

Last updated 6 months ago