[+] Add Command for Admin /setweaponrack , /rmweaponrack and for Leader /setweaponrank
+ Add blip alpha channel for Players (set to 125) + Add blip color for Player with Wanted - Removed WeaponHash from DB entry FactionWeapons (Deprecated)
This commit is contained in:
@@ -10,7 +10,7 @@ export default function playerBlips() {
|
||||
if (entity.type === "player") {
|
||||
let color = parseInt(entity.getVariable("blipColor"));
|
||||
if (entity.blip == 0) entity.createBlip(1);
|
||||
|
||||
entity.blip.alpha = 125;
|
||||
entity.setBlipColor(isNaN(color) ? 0 : color);
|
||||
mp.game.invoke(Natives.SET_BLIP_CATEGORY, entity.blip, 7);
|
||||
mp.game.invoke(Natives.SHOW_HEADING_INDICATOR_ON_BLIP, entity.blip, true);
|
||||
|
||||
Reference in New Issue
Block a user