mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
1.4.8a
- Removed message of checking server ip - Fixed some commands - Changed workshopmaps config - Probably fixed votes (untested) - let me know if not - Minimum css version - 246
This commit is contained in:
parent
cdd771511b
commit
a395a7d9c8
9 changed files with 13 additions and 23 deletions
|
|
@ -207,7 +207,7 @@ namespace CS2_SimpleAdmin
|
|||
|
||||
public void SetHp(CCSPlayerController? caller, CCSPlayerController? player, int health, CommandInfo? command = null)
|
||||
{
|
||||
if (player != null && !player.IsBot && player.Connected == PlayerConnectedState.PlayerConnected)
|
||||
if (player == null || !player.IsValid || player.IsHLTV)
|
||||
return;
|
||||
|
||||
var callerName = caller == null ? "Console" : caller.PlayerName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue