debug
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
export default function playerBlips() {
|
||||
mp.events.add("entityStreamIn", (entity) => {
|
||||
if (entity.type === "player") {
|
||||
console.log(entity.id);
|
||||
console.log(entity.name);
|
||||
let color = parseInt(entity.getVariable("blipColor"));
|
||||
if (entity.blip == 0) entity.createBlip(1);
|
||||
entity.setBlipColor(isNaN(color) ? 0 : color);
|
||||
|
||||
Reference in New Issue
Block a user