testen ob blips auf map so gehen

This commit is contained in:
michael.reiswich
2021-03-26 18:34:01 +01:00
parent 11a015374c
commit c5e6a80ed2
3 changed files with 25 additions and 2 deletions

View File

@@ -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 }) ;
}
}
}