mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
tweak(phone): update old NuiCallbacks with new wrapper func
Also switches old Nui.send() calls with fetchNui on focus input control
This commit is contained in:
1 parent
fc939885a8
commit
d648b21d3b
4 files changed
+23
-53
No files matched your search
@@ -1,19 +1,9 @@
|
||||
export const PHONE_NUMBER_REGEX = /^([0-9]{3}-[0-9]{4})|([0-9]{7})$/;
|
||||
|
||||
export enum PhoneEvents {
|
||||
UI_IS_READY = 'npwd:uiIsReady',
|
||||
PLAYER_IS_READY = 'npwd:playerIsReady',
|
||||
OPEN_APP_CONTACTS = 'npwd:app:CONTACTS',
|
||||
OPEN_APP_BANK = 'npwd:app:BANK',
|
||||
OPEN_APP_NOTES = 'npwd:app:NOTES',
|
||||
OPEN_APP_LISTINGS = 'npwd:app:MARKETPLACE',
|
||||
OPEN_APP_CAMERA = 'npwd:app:CAMERA',
|
||||
OPEN_APP_DAILER = 'npwd:app:DIALER',
|
||||
OPEN_PHONE = 'npwd:open',
|
||||
CLOSE_PHONE = 'npwd:close',
|
||||
SET_ALERT = 'npwd:setAlert',
|
||||
SET_VISIBILITY = 'npwd:setVisibility',
|
||||
SET_NOTIFICATION = 'npwd:setNotification',
|
||||
SET_NUMBER = 'npwd:setNumber',
|
||||
SET_PHONE_READY = 'npwd:phoneReady',
|
||||
SET_CONFIG = 'npwd:setPhoneConfig',
|
||||
|
||||
Reference in new issue
Block a user