mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
1.2.8c
- Updated CounterStrikeSharp to 159 - Minor changes
This commit is contained in:
parent
e584316a28
commit
67ad1851bf
3 changed files with 16 additions and 16 deletions
|
|
@ -25,7 +25,7 @@ public partial class CS2_SimpleAdmin
|
|||
RegisterEventHandler<EventRoundStart>(OnRoundStart);
|
||||
AddCommandListener("say", OnCommandSay);
|
||||
AddCommandListener("say_team", OnCommandTeamSay);
|
||||
AddCommandListener("callvote", OnCommandCallVote);
|
||||
//AddCommandListener("callvote", OnCommandCallVote);
|
||||
}
|
||||
|
||||
/*private HookResult OnPlayerFullConnect(EventPlayerConnectFull @event, GameEventInfo info)
|
||||
|
|
@ -202,7 +202,7 @@ public partial class CS2_SimpleAdmin
|
|||
|
||||
if (player != null && player.UserId != null && gaggedPlayers.Contains((ushort)player.UserId))
|
||||
{
|
||||
if (gaggedPlayers.TryTake(out ushort removedItem) && removedItem != (int)player.UserId)
|
||||
if (gaggedPlayers.TryTake(out ushort removedItem) && removedItem != (ushort)player.UserId)
|
||||
{
|
||||
gaggedPlayers.Add(removedItem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue