css_vote and small fixes

This commit is contained in:
daffyyyy
2023-12-12 19:46:19 +01:00
parent e6fb8bc402
commit efd9ab5c22
6 changed files with 88 additions and 7 deletions

View File

@@ -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)