- Changed knife remove method
- Fixed (?) exception with cooldown
This commit is contained in:
Dawid Bepierszcz
2023-12-25 15:45:32 +01:00
parent cd059c6bfb
commit 24fcfa0222
7 changed files with 33 additions and 27 deletions

View File

@@ -7,6 +7,7 @@ public static class PlayerExtensions
{
public static void Print(this CCSPlayerController controller, string message)
{
if (WeaponPaints._localizer == null) return;
StringBuilder _message = new(WeaponPaints._localizer["wp_prefix"]);
_message.Append(message);
controller.PrintToChat(_message.ToString());