mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
feat(call/client|server): use Unix
This commit is contained in:
1 parent
08d848054e
commit
ae1715f173
1 file changed
+5
-2
@@ -8,8 +8,11 @@ const exp = (global as any).exports;
|
||||
|
||||
RegisterNuiCallbackType(events.PHONE_INITIALIZE_CALL);
|
||||
on(`__cfx_nui:${events.PHONE_INITIALIZE_CALL}`, (data: any) => {
|
||||
const timestamp = dayjs().locale(config.Locale).format('HH:mm')
|
||||
emitNet(events.PHONE_INITIALIZE_CALL, data.number, timestamp);
|
||||
const timestamp = dayjs().locale(config.Locale).format('HH:mm');
|
||||
const start = Date.now()
|
||||
|
||||
|
||||
emitNet(events.PHONE_INITIALIZE_CALL, data.number, timestamp, start);
|
||||
});
|
||||
|
||||
onNet(
|
||||
|
||||
Reference in new issue
Block a user