mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
Small changes
- Small changes - Added `ru` and `pt-br` lang
This commit is contained in:
parent
64803ebff2
commit
8e1a1b2ecf
24 changed files with 115 additions and 122 deletions
|
|
@ -8,6 +8,7 @@ namespace CS2_SimpleAdmin.Menus
|
|||
public static class FunActionsMenu
|
||||
{
|
||||
private static Dictionary<int, CsItem>? _weaponsCache = null;
|
||||
|
||||
private static Dictionary<int, CsItem> GetWeaponsCache
|
||||
{
|
||||
get
|
||||
|
|
@ -29,6 +30,7 @@ namespace CS2_SimpleAdmin.Menus
|
|||
return _weaponsCache;
|
||||
}
|
||||
}
|
||||
|
||||
public static void OpenMenu(CCSPlayerController admin)
|
||||
{
|
||||
if (admin == null || admin.IsValid == false)
|
||||
|
|
@ -76,7 +78,6 @@ namespace CS2_SimpleAdmin.Menus
|
|||
AdminMenu.OpenMenu(admin, menu);
|
||||
}
|
||||
|
||||
|
||||
private static void GodMode(CCSPlayerController admin, CCSPlayerController player)
|
||||
{
|
||||
CS2_SimpleAdmin.Instance.God(admin, player);
|
||||
|
|
@ -184,4 +185,4 @@ namespace CS2_SimpleAdmin.Menus
|
|||
CS2_SimpleAdmin.Instance.SetSpeed(admin, player, speed);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue