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

13 lines
298 B
TypeScript

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