mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(bank/nui): adding account money ready for testing
This commit is contained in:
1 parent
4d029cd7af
commit
bbbc6826e4
1 file changed
+2
-2
@@ -39,8 +39,8 @@ async function addTransfer(identifier: string, transfer: Transfer): Promise<any>
|
|||||||
else if (transfer.amount < bankBalance) {
|
else if (transfer.amount < bankBalance) {
|
||||||
emitNet(events.BANK_TRANSACTION_ALERT, getSource(), true)
|
emitNet(events.BANK_TRANSACTION_ALERT, getSource(), true)
|
||||||
|
|
||||||
//xTarget.addAccountMoney('bank', transfer.amount);//
|
xTarget.addAccountMoney('bank', transfer.amount);
|
||||||
//xPlayer.removeAccountMoney('bank', transfer.amount);
|
xPlayer.removeAccountMoney('bank', transfer.amount);
|
||||||
|
|
||||||
const query = "INSERT INTO npwd_bank_transfers (identifier, target, amount, message, type, source) VALUES (?, ?, ?, ?, ?, ?)"
|
const query = "INSERT INTO npwd_bank_transfers (identifier, target, amount, message, type, source) VALUES (?, ?, ?, ?, ?, ?)"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user