feat(phone/package): using my own package, because its better

This commit is contained in:
Christopher committed 2020-12-11 20:45:02 +01:00
1 parent 550eb8f38f
commit 6d339e0627
2 files changed
+11 -6

No files matched your search

+4 -3
View File
@@ -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));
}
});