This commit is contained in:
kookroach
2021-04-05 00:49:15 +02:00
parent 803ab98546
commit f17df0103c

View File

@@ -7,8 +7,8 @@
export default function playerBlips() { export default function playerBlips() {
mp.events.add("entityStreamIn", (entity) => { mp.events.add("entityStreamIn", async (entity) => {
mp.game.wait(100); await mp.game.waitAsync(100);
if (entity.type === "player") { if (entity.type === "player") {
let color = parseInt(entity.getVariable("blipColor")); let color = parseInt(entity.getVariable("blipColor"));
if (entity.blip == 0) entity.createBlip(1); if (entity.blip == 0) entity.createBlip(1);