CSS 121, languages and more

This commit is contained in:
daffyyyy
2023-12-12 20:09:39 +01:00
parent 6d44e582be
commit fc42190701
13 changed files with 169 additions and 96 deletions

14
PlayerExtensions.cs Normal file
View File

@@ -0,0 +1,14 @@
using CounterStrikeSharp.API.Core;
using System.Text;
namespace WeaponPaints;
public static class PlayerExtensions
{
public static void Print(this CCSPlayerController controller, string message)
{
StringBuilder _message = new(WeaponPaints._localizer["wp_prefix"]);
_message.Append(message);
controller.PrintToChat(_message.ToString());
}
}