change tuning prices

This commit is contained in:
michael.reiswich
2021-04-03 12:35:19 +02:00
parent dacaf84cf7
commit 894ae7465f
4 changed files with 37 additions and 36 deletions

View File

@@ -42,10 +42,10 @@ export default function playerBlips() {
mp.events.addDataHandler("blipColor", (entity, value) => {
if (entity.type === "player") {
mp.gui.chat.push("Setting Blip color...");
//mp.gui.chat.push("Setting Blip color...");
let color = parseInt(value);
entity.setBlipColor(isNaN(color) ? 0 : color);
mp.gui.chat.push("Player blip color was set.");
// mp.gui.chat.push("Player blip color was set.");
}
});
}