FFA/Paintball Integration

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

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

Last updated