# Exports

{% hint style="danger" %}
If a player defaults on a loan or exceeds a certain invoice limit, you can use this export in a script of your choice to prevent them from making a transaction.,
{% endhint %}

{% hint style="success" %}

```lua
exports["G9-banking"]:getBlock()
```

{% endhint %}

## Example (for qb-garages)

```lua
RegisterNUICallback('takeOutVehicle', function(data, cb)
    local response = exports["G9-banking"]:getBlock()
    if response then
        TriggerEvent('qb-garages:client:takeOutGarage', data)
        cb('ok')
    else
        QBCore.Functions.Notify('You have an unpaid bill or loan!')
    end
end)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gravi9.gitbook.io/documations/scripts/bank/exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
