tweak(bank/client:server): commented out update functionality, doing that shit later

This commit is contained in:
chip committed 2020-10-30 14:26:53 +01:00
1 parent 1eabe28bfc
commit b0df2fce0a
3 files changed
+55 -8

No files matched your search

+15 -1
View File
@@ -29,4 +29,18 @@ on(`__cfx_nui:${events.NOTE_DELETE_NOTE}`, (data: any) => {
setTimeout(() => {
emitNet(events.NOTE_FETCH_ALL_NOTES)
}, 500);
})
})
// coming soon tm
/*RegisterNuiCallbackType(events.NOTE_UPDATE_NOTE);
on(`__cfx_nui:${events.NOTE_UPDATE_NOTE}`, (data: any) => {
const note = data;
emitNet(events.NOTE_UPDATE_NOTE, note)
setTimeout(() => {
emitNet(events.NOTE_FETCH_ALL_NOTES)
}, 500);
})*/