Main/resources/[housing]/qs-housing/server/custom/society/qs-banking.lua
2025-06-09 23:54:46 +02:00

16 lines
No EOL
576 B
Lua

--[[
Configurable company system, you can create multiple files
and adapt them to your company system, these are the ones we recommend
that we bring by default, but you can integrate others.
Enable Config.Debug to be able to see the log inside Debug.
]]
if Config.Society ~= 'qs-banking' then
return
end
function AddMoneyToSociety(src, societyName, societyPaid)
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
exports['qs-banking']:AddMoney(societyName, societyPaid, 'housing purchase')
end