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

FFA/Paintball Integration

If you want to integrate your FFA/Paintabll script, follow this guide.

PreviousCustom MedicationNextInventory Items

Last updated 9 months ago

Most FFA scripts will have their own revive system, needing to disable/remove the default death system whilst in use. To disable all the death related systems in the script, use the disableAllSystems() function in client_open. It will be at around line 1000.

To use this function, your FFA script will often have some kind of exports to tell the ambulancejob that their is an FFA session active. And integration could look something like this:

You will ofcourse have to change out the export file name path and the function to correspond to your FFA's docs.

Example code:

function disableAllSystems()
    if exports['FFA HERE']:something() then
        return true
    end
    return false
end