changed permissions to @css/give

This commit is contained in:
BuildTools
2023-12-09 10:58:21 +03:30
parent dbdefa8168
commit 607c38e992
2 changed files with 2 additions and 2 deletions

View File

@@ -917,7 +917,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
}
[ConsoleCommand("css_give")]
[RequiresPermissions("@css/cheats")]
[RequiresPermissions("@css/give")]
[CommandHelper(minArgs: 2, usage: "<#UserId Or Name> <WeaponName>", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
public void OnGiveCommand(CCSPlayerController? caller, CommandInfo command)
{

View File

@@ -33,7 +33,7 @@ It's only plugin base, I don't have much time for more extensive development, so
- css_respawn <#userid or name> - Respawn player // @css/cheats
- css_cvar <cvar> <value> - Change cvar value // @css/cvar
- css_rcon <command> - Run command as server // @css/rcon
- css_give <#userid or name> <WeaponName> - Gives a weapon to a Player // @css/cheats
- css_give <#userid or name> <WeaponName> - Gives a weapon to a Player // @css/give
- @Message - Say message to all admins // @css/chat
```