# FFA/Paintball Integration

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.&#x20;

<figure><img src="https://90344984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY5VEZp2rRXg9sKqQqoOm%2Fuploads%2FqwgNUyqIHQGDbBFqQ1hd%2Fimage.png?alt=media&#x26;token=7a88f583-a539-432e-b880-0be06a7d1323" alt=""><figcaption></figcaption></figure>

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:

<figure><img src="https://90344984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY5VEZp2rRXg9sKqQqoOm%2Fuploads%2FNALhXMkbzRpGZXE2V6JV%2Fimage.png?alt=media&#x26;token=18e5d9bb-25cd-45a0-b4f0-5022a59077f5" alt=""><figcaption></figcaption></figure>

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

Example code:

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