mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-18 02:41:55 +00: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user