mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-10-20 10:25:04 +01:00
Added Wasabi Banking
Added Wasabi Banking to societybank.lua
This commit is contained in:
1 parent
e84a9f1c60
commit
d21f4b22b5
1 file changed
+15
@@ -192,6 +192,21 @@ local societyFunc = {
|
||||
end,
|
||||
},
|
||||
|
||||
{ bankName = "wasabi_banking",
|
||||
getAccount =
|
||||
function(society)
|
||||
return exports['wasabi_banking']:GetAccountBalance(society, 'society')
|
||||
end,
|
||||
chargeSociety =
|
||||
function(society, amount)
|
||||
exports['wasabi_banking']:RemoveMoney('society', society, amount)
|
||||
end,
|
||||
fundSociety =
|
||||
function(society, amount)
|
||||
exports['wasabi_banking']:AddMoney('society', society, amount)
|
||||
end,
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user