testen ob blips auf map so gehen
This commit is contained in:
@@ -13,7 +13,7 @@ export default function playerBlips() {
|
||||
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);
|
||||
mp.game.invoke(Natives.SET_BLIP_AS_SHORT_RANGE, entity.blip, true);
|
||||
//mp.game.invoke(Natives.SET_BLIP_AS_SHORT_RANGE, entity.blip, true);
|
||||
mp.game.invoke(Natives.SET_BLIP_DISPLAY, entity.blip, 8);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -474,7 +474,18 @@ namespace ReallifeGamemode.Server.Commands
|
||||
}
|
||||
|
||||
#endregion Staatsfraktionen (LSPD / FBI) Commands
|
||||
#region Weazel News
|
||||
[Command("eventchat", "~m~Benutzung: ~s~/eventchat [Typ = ~g~on~s~, ~g~off~s~", GreedyArg = true)]
|
||||
public void CmdFactionNREventchat(Player player, string onoff)
|
||||
{
|
||||
|
||||
List<Player> players = NAPI.Pools.GetAllPlayers();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endregion Weazel News
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -87,6 +87,18 @@ namespace ReallifeGamemode.Server.Commands
|
||||
{
|
||||
player.PlayAnimation("mp_am_hold_up", "handsup_base", (int)(AnimationFlags.Loop | AnimationFlags.OnlyAnimateUpperBody | AnimationFlags.AllowPlayerControl | AnimationFlags.Cancellable));
|
||||
}
|
||||
|
||||
[Command("event", "~m~Benutzung: ~s~/eventchat [Nachricht]", GreedyArg = true)]
|
||||
public void CmdFactionNREventchat(Player player, string msg)
|
||||
{
|
||||
if (player.HasData("eventAllowed") == false)
|
||||
{
|
||||
ChatService.NotAuthorized(player);
|
||||
return;
|
||||
}
|
||||
ChatService.BroadcastFaction(msg, new List<int>() { 9 }) ;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user