17 lines
		
	
	
	
		
			643 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			643 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 ~= '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
 | 
