> For the complete documentation index, see [llms.txt](https://studio-players.gitbook.io/studio-players/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://studio-players.gitbook.io/studio-players/faq/sa-money-v2.md).

# SA-Money-V2

### Common

<details>

<summary>I can't see the image of the item</summary>

* By default, we don't provide any pictures for money item. You have to download them from the internet and import them to inventory.
* If you already downloaded them, imported and still don't see them, please get in touch with the developer of the inventory, not us!

</details>

<details>

<summary>SCRIPT ERROR: @qb-core/server/player.lua:xxx: No such export 'FUNCTION' in resource SA-Money-v2</summary>

* Open the live console in txAdmin and type into the command prompt to ensure SA-Money-v2
* If you get an error like 'You lack the required entitlement' follow this [guide](/studio-players/faq/general-issues.md)

</details>

***

### QS-Inventory

<details>

<summary>When I pick up money from the ground, it duplicates</summary>

* If you use Quasar inventory, just open the quasar inventory folder server/custom/framework/qb.lua and disable UseCashAsItem = false

</details>

***

### OX Inventory

<details>

<summary>Duplicating money</summary>

If you use ox\_inventory, open the folder ox\_inventory/modules/bridge/qb/server.lua and replace it with this [one](https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-Money/Installation/server.lua) or you can do it yourself by editing the file. Below is a picture of how to edit it.

<img src="/files/PGYEzMnaGorfnPniVcCU" alt="" data-size="original">

<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-Money/Installation/server.lua><br>

</details>

***

### Codem-Inventory

<details>

<summary>Cash doesn't show in the inventory</summary>

* If you cannot give yourself item cash, create a new one named money in codem-inventory > config > itemlist.lua

```lua
    money                        = { name = 'money', label = 'Money', weight = 0, type = 'item', image = 'cash.png', unique = false, useable = false, shouldClose = false, description = 'A Useable BoomMic' },    tshirt_1                     = { name = 'tshirt_1', label = 'Tshirt', weight = 100, type = 'clothes', image = 'tshirt_1.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A Useable Outfit' },
```

* then change in SA-Money-v2 > config.lua from cash to money

```lua
Money = { 
    Currencies = {
        [1] = {
            currency = 'cash',
            item = 'money',
            prop = 'prop_cash_pile_02',
        },
    }
}
```

</details>

***

### FD\_Banking

<details>

<summary>Item doesn't show/add in inventory</summary>

* This problem is because FD-Banking rewrites functions that you edit in player.lua. You have to open fd\_banking / modules / bridge / server / qb.lua to fix that
* Find this line

```lua
player.PlayerData.money[moneytype] = player.PlayerData.money[moneytype] + amount
```

* and replace it with this

```lua
local typ = exports['SA-Money-v2']:MoneyChecker(moneytype)
if typ then
    if player.PlayerData.money[moneytype] == player.PlayerData.money[typ] then
        exports['SA-Money-v2']:AddMoney(player.PlayerData, amount, reason, typ)
    end
else
    player.PlayerData.money[moneytype] = player.PlayerData.money[moneytype] + amount
end
```

* Do the same thing with this line below

```lua
player.PlayerData.money[moneytype] = player.PlayerData.money[moneytype] - amount
```

* replace with this

```lua
local typ = exports['SA-Money-v2']:MoneyChecker(moneytype)
if typ then
    if player.PlayerData.money[moneytype] == player.PlayerData.money[typ] then
        exports['SA-Money-v2']:RemoveMoney(player.PlayerData, amount, reason, typ)
    end
else
    player.PlayerData.money[moneytype] = player.PlayerData.money[moneytype] - amount
end
```

* Example file [here](https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-Money/Installation/qb.lua)

</details>
