mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 12:57:04 +02:00
1.2.3a
- 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:
parent
b8075ffa8c
commit
270e3bd858
7 changed files with 58 additions and 24 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue