mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-18 02:41:55 +00:00
Fixed defualt kick reason
This commit is contained in:
@@ -473,6 +473,8 @@ public partial class CS2_SimpleAdmin: BasePlugin, IPluginConfig<CS2_SimpleAdminC
|
||||
|
||||
public void Kick(CCSPlayerController? caller, CCSPlayerController player, string reason = null)
|
||||
{
|
||||
reason ??= "Unknown";
|
||||
|
||||
if (player.PawnIsAlive)
|
||||
{
|
||||
player.Pawn.Value!.Freeze();
|
||||
|
||||
Reference in New Issue
Block a user