mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
Minor changes
This commit is contained in:
parent
af66802b37
commit
4e898a6509
16 changed files with 92 additions and 109 deletions
|
|
@ -36,7 +36,7 @@ namespace CS2_SimpleAdmin
|
|||
});
|
||||
}
|
||||
|
||||
public void NoClip(CCSPlayerController? caller, CCSPlayerController player, string callerName = null)
|
||||
public void NoClip(CCSPlayerController? caller, CCSPlayerController player, string? callerName = null)
|
||||
{
|
||||
callerName ??= caller == null ? "Console" : caller.PlayerName;
|
||||
player!.Pawn.Value!.ToggleNoclip();
|
||||
|
|
@ -84,7 +84,7 @@ namespace CS2_SimpleAdmin
|
|||
});
|
||||
}
|
||||
|
||||
public void Freeze(CCSPlayerController? caller, CCSPlayerController player, int time, string callerName = null)
|
||||
public void Freeze(CCSPlayerController? caller, CCSPlayerController player, int time, string? callerName = null)
|
||||
{
|
||||
callerName ??= caller == null ? "Console" : caller.PlayerName;
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ namespace CS2_SimpleAdmin
|
|||
});
|
||||
}
|
||||
|
||||
public void Unfreeze(CCSPlayerController? caller, CCSPlayerController player, string callerName = null)
|
||||
public void Unfreeze(CCSPlayerController? caller, CCSPlayerController player, string? callerName = null)
|
||||
{
|
||||
callerName ??= caller == null ? "Console" : caller.PlayerName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue