Files
new-phone-who-dis/resources/client/client.ts
T

18 lines
387 B
TypeScript

import { ESXClient } from "fivem-esx-js/client/esx_client";
import './cl_main';
import './cl_twitter';
import './cl_contacts';
import './cl_sellout';
import './cl_bank';
import './cl_notes';
import './cl_photo';
import './cl_messages';
export let ESX: ESXClient = null;
setTick(() => {
while (ESX === null) {
emit("esx:getSharedObject", (obj: ESXClient) => (ESX = obj));
}
});