mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working updates
This commit is contained in:
1 parent
18be1a7d0f
commit
ce951ceecc
10 files changed
+92
-53
No files matched your search
@@ -33,14 +33,12 @@ on(`__cfx_nui:${events.NOTE_DELETE_NOTE}`, (data: any) => {
|
||||
|
||||
|
||||
// coming soon tm
|
||||
|
||||
/*RegisterNuiCallbackType(events.NOTE_UPDATE_NOTE);
|
||||
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);
|
||||
})*/
|
||||
onNet(events.NOTE_UPDATE_NOTE_SUCCESS, () => {
|
||||
emitNet(events.NOTE_FETCH_ALL_NOTES)
|
||||
});
|
||||
Reference in new issue
Block a user