mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 12:57:04 +02:00
css_vote and small fixes
This commit is contained in:
parent
e6fb8bc402
commit
efd9ab5c22
6 changed files with 88 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using CounterStrikeSharp.API.Core;
|
||||
using CounterStrikeSharp.API.Modules.Admin;
|
||||
using CounterStrikeSharp.API.Modules.Menu;
|
||||
using CounterStrikeSharp.API.Modules.Utils;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -42,7 +43,7 @@ public static class PlayerUtils
|
|||
|
||||
public static void Freeze(this CBasePlayerPawn pawn)
|
||||
{
|
||||
pawn.MoveType = MoveType_t.MOVETYPE_NONE;
|
||||
pawn.MoveType = MoveType_t.MOVETYPE_OBSOLETE;
|
||||
}
|
||||
|
||||
public static void Unfreeze(this CBasePlayerPawn pawn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue