mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-17 10:31:01 +00:00
changed permissions to @css/give
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user