try fix error

This commit is contained in:
hydrant
2021-04-04 23:56:35 +02:00
parent dcf5e4eb2d
commit cb68bcaf53

View File

@@ -7,8 +7,8 @@
export default function playerBlips() {
mp.events.add("entityStreamIn", (entity) => {
mp.game.wait(500);
mp.events.add("entityStreamIn", async (entity) => {
await mp.game.waitAsync(500);
if (entity.type === "player") {
var entityMp = <EntityMp>entity;
let color = parseInt(entity.getVariable("blipColor"));