mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
server/client functionality for transferring + alerts | not done
This commit is contained in:
1 parent
e17f9211f5
commit
8dc15d5cc8
2 files changed
+21
-14
No files matched your search
@@ -31,3 +31,13 @@ on(`__cfx_nui:${events.BANK_ADD_TRANSFER}`, (data: any) => {
|
||||
emitNet(events.BANK_FETCH_TRANSACTIONS);
|
||||
}, 500)
|
||||
})
|
||||
|
||||
onNet(events.BANK_TRANSACTION_ALERT, (message: string, alert: string) => {
|
||||
SendNuiMessage(
|
||||
JSON.stringify({
|
||||
app: 'BANK',
|
||||
method: 'setAlert',
|
||||
data: { message, alert }
|
||||
})
|
||||
)
|
||||
})
|
||||
Reference in new issue
Block a user