-removes flag penality when unflagging a player
-fixed 'just now ago' on webfront -webfront playerlist level colors are hidden to non admin users -tempban length can now be specified (<int>m, <int>h, <int>d, <int>y)
This commit is contained in:
@ -98,6 +98,10 @@ namespace Welcome_Plugin
|
||||
|
||||
public async Task OnTickAsync(Server S)
|
||||
{
|
||||
return;
|
||||
|
||||
// TODO: check if this works
|
||||
|
||||
int MaxPing = (await S.GetDvarAsync<int>("sv_maxping")).Value;
|
||||
|
||||
if (MaxPing == 0)
|
||||
@ -144,12 +148,12 @@ namespace Welcome_Plugin
|
||||
|
||||
}
|
||||
|
||||
PlayerPings.Add(E.Origin.DatabaseID, 1.0f);
|
||||
//PlayerPings.Add(E.Origin.DatabaseID, 1.0f);
|
||||
}
|
||||
|
||||
if (E.Type == Event.GType.Disconnect)
|
||||
{
|
||||
PlayerPings.Remove(E.Origin.DatabaseID);
|
||||
//PlayerPings.Remove(E.Origin.DatabaseID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user