mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Update Events.cs
This commit is contained in:
parent
6ac370df74
commit
454643431a
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ namespace CS2_SimpleAdmin
|
||||||
{
|
{
|
||||||
foreach (var p in Utilities.GetPlayers().Where(p => p.IsValid && !p.IsBot && !p.IsHLTV && AdminManager.PlayerHasPermissions(p, "@css/chat")))
|
foreach (var p in Utilities.GetPlayers().Where(p => p.IsValid && !p.IsBot && !p.IsHLTV && AdminManager.PlayerHasPermissions(p, "@css/chat")))
|
||||||
{
|
{
|
||||||
p.PrintToChat($" {ChatColors.Lime}(ADMIN) {ChatColors.Default}{player.PlayerName}: {info.GetArg(1)}");
|
p.PrintToChat($" {ChatColors.Lime}(ADMIN) {ChatColors.Default}{player.PlayerName}: {info.GetArg(1).Remove(0, 1)}");
|
||||||
}
|
}
|
||||||
|
|
||||||
return HookResult.Handled;
|
return HookResult.Handled;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue