add debug message

This commit is contained in:
Siga
2020-03-23 16:14:50 +01:00
parent 2e06d14693
commit e59b84d6ac
4 changed files with 1561 additions and 27 deletions

View File

@@ -8,6 +8,7 @@
export default function playerBlips() {
mp.events.add("entityStreamIn", (entity) => {
if (entity.type === "player") {
console.log(entity.id);
let color = parseInt(entity.getVariable("blipColor"));
if (entity.blip == 0) entity.createBlip(1);
entity.setBlipColor(isNaN(color) ? 0 : color);