housing und dj
This commit is contained in:
parent
112c7b1761
commit
10a5d168d4
731 changed files with 506993 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'ap-government' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports['ap-government']:chargeCityTax(src, 'Housing', societyPaid, 'bank')
|
||||
end
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'crm-banking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system (CRM-Banking), id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports["crm-banking"]:crm_add_money(societyName, societyPaid)
|
||||
end
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'none' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('add money society trigggered')
|
||||
return true
|
||||
end
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
--[[
|
||||
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 ~= 'esx_society' then
|
||||
return
|
||||
end
|
||||
|
||||
for societyName, _ in pairs(Config.CreatorJobs) do
|
||||
local name = 'society_' .. societyName
|
||||
TriggerEvent('esx_society:registerSociety', societyName, 'RealState', name, name, name, { type = 'public' })
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(_src, societyName, societyPaid)
|
||||
Debug('esx_society', 'AddMoneyToSociety', 'src: ' .. _src .. ' societyName: ' .. societyName .. ' societyPaid: ' .. societyPaid)
|
||||
local name = 'society_' .. societyName
|
||||
TriggerEvent('esx_addonaccount:getSharedAccount', name, function(account)
|
||||
account.addMoney(societyPaid)
|
||||
end)
|
||||
end
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
--[[
|
||||
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 ~= 'okokbanking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
|
||||
exports['okokBanking']:AddMoney(societyName, societyPaid)
|
||||
end
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'qb-banking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports['qb-banking']:AddMoney(societyName, societyPaid)
|
||||
end
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'qb-management' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports['qb-management']:AddMoney(societyName, societyPaid)
|
||||
end
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
--[[
|
||||
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 ~= 'Renewed-Banking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports['Renewed-Banking']:addAccountMoney(societyName, societyPaid)
|
||||
end
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
if Config.Society ~= 'tgg-banking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
exports['tgg-banking']:AddSocietyMoney(society, amount)
|
||||
end
|
||||
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
--[[
|
||||
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 ~= 'zpx-banking' then
|
||||
return
|
||||
end
|
||||
|
||||
function AddMoneyToSociety(src, societyName, societyPaid)
|
||||
Debug('Society system, id: ' .. src .. ', society name: ' .. societyName .. ', Paid: ' .. societyPaid)
|
||||
--exports['zpx-banking']:AddMoney(societyName, societyPaid)
|
||||
exports['zpx-banking']:Transaction(identifier, reason, amount, type, account)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue