- Fixed pern mute when entering the server
- New command `css_strip`
- Changed `css_team` command added `swap` as team, and `-k` argument to kill player
This commit is contained in:
daffyyyy
2023-12-14 21:43:40 +01:00
parent b8075ffa8c
commit 270e3bd858
7 changed files with 58 additions and 24 deletions

View File

@@ -38,7 +38,7 @@ public static class PlayerUtils
controller.PlayerPawn.Value.MaxHealth = health;
}
var weaponServices = controller.PlayerPawn.Value!.WeaponServices;
CPlayer_WeaponServices? weaponServices = controller.PlayerPawn.Value!.WeaponServices;
if (weaponServices == null) return;
controller.GiveNamedItem("weapon_healthshot");