mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
import {ESXClient} from "fivem-esx-js/client/esx_client";
|
|
|
|
let ESX: ESXClient = null;
|
|
|
|
setTick(() => {
|
|
while (ESX === null) {
|
|
emit('esx:getSharedObject', (obj: ESXClient) => ESX = obj);
|
|
}
|
|
}); |