mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-17 18:39:07 +00:00
14 lines
353 B
C#
14 lines
353 B
C#
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());
|
|
}
|
|
} |