Update CS2-Tags.cs
This commit is contained in:
parent
9fd605e863
commit
088f66694a
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ public class CS2_Tags : BasePlugin
|
|||
public override string ModuleName => "CS2-Tags";
|
||||
public override string ModuleDescription => "Add player tags easily in cs2 game";
|
||||
public override string ModuleAuthor => "daffyy";
|
||||
public override string ModuleVersion => "1.0.3";
|
||||
public override string ModuleVersion => "1.0.3a";
|
||||
|
||||
public override void Load(bool hotReload)
|
||||
{
|
||||
|
|
@ -387,6 +387,7 @@ public class CS2_Tags : BasePlugin
|
|||
foreach (var p in Utilities.GetPlayers().Where(p => p.TeamNum == player.TeamNum && p.IsValid && !p.IsBot))
|
||||
{
|
||||
string messageToSend = $"{deadIcon}{TeamName(player.TeamNum)} {ChatColors.Default}{prefix}{nickColor}{player.PlayerName}{ChatColors.Default}: {messageColor}{info.GetArg(1)}";
|
||||
p.PrintToChat($" {ReplaceTags(messageToSend, p.TeamNum)}");
|
||||
}
|
||||
//p.PrintToChat(ReplaceTags($" {TeamName(player.TeamNum)} {ChatColors.Default}{prefix}{nickColor}{player.PlayerName}{ChatColors.Default}: {messageColor}{info.GetArg(1)}", p.TeamNum));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue