If you are using the "esx_society" script you should make this change to work correctly with housing.
You need to REPLACE the following trigger :
esx_society/server/main.lua
RegisterServerEvent('esx_society:depositMoney')AddEventHandler('esx_society:depositMoney', function(societyName,amount)local source = sourcelocal xPlayer = ESX.GetPlayerFromId(source)local society = GetSociety(societyName)ifnot society then print(('[^3WARNING^7] Player ^5%s^7 attempted to deposit to non-existing society - ^5%s^7!'):format(source, societyName))
returnend amount = ESX.Math.Round(tonumber(amount))if xPlayer.job.name ~= society.name thenreturnprint(('[^3WARNING^7] Player ^5%s^7 attempted to deposit to society - ^5%s^7!'):format(source, society.name))endif amount >0and xPlayer.getAccount('bank').money >= amount then TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account) xPlayer.removeAccountMoney('bank', amount, "Society Deposit") xPlayer.showNotification(TranslateCap('have_deposited', ESX.Math.GroupDigits(amount))) account.addMoney(amount)end)else xPlayer.showNotification(TranslateCap('invalid_amount'))endend)