add cityhall menu, add self interaction menu (Arrow Down), fix freecam, add group creation, move (faction) invite from commands to menu

This commit is contained in:
hydrant
2019-05-07 20:55:25 +02:00
parent 53e0072f91
commit 07a7f25730
17 changed files with 666 additions and 278 deletions

View File

@@ -74,5 +74,19 @@ namespace ReallifeGamemode.Server.Services
}
});
}
public static void BroadcastGroup(string message, Group group)
{
message = $"!{{FF8080}}** Gruppe: {message}";
NAPI.Pools.GetAllPlayers().ForEach(p =>
{
Group pGroup = p.GetUser()?.Group;
if (pGroup?.Id == group.Id)
{
p.SendChatMessage(message);
}
});
}
}
}