mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
changed permissions to @css/give
This commit is contained in:
parent
dbdefa8168
commit
607c38e992
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue