mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
feat(phone/package): using my own package, because its better
This commit is contained in:
1 parent
550eb8f38f
commit
6d339e0627
2 files changed
+11
-6
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { ESXClient } from "fivem-esx-js/client/esx_client";
|
||||
import { Client } from 'esx.js';
|
||||
|
||||
import './cl_main';
|
||||
import './cl_twitter';
|
||||
import './cl_contacts';
|
||||
@@ -8,10 +9,10 @@ import './cl_notes';
|
||||
import './cl_photo';
|
||||
import './cl_messages';
|
||||
|
||||
export let ESX: ESXClient = null;
|
||||
export let ESX: Client = null;
|
||||
|
||||
setTick(() => {
|
||||
while (ESX === null) {
|
||||
emit("esx:getSharedObject", (obj: ESXClient) => (ESX = obj));
|
||||
emit("esx:getSharedObject", (obj: Client) => (ESX = obj));
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user