Skip to content

Commit

Permalink
Rename command to setmodelalpha
Browse files Browse the repository at this point in the history
  • Loading branch information
razpbrry committed Mar 26, 2024
1 parent d42ba85 commit c77a49e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ After installation and initial run of the plugin, a configuration file will be c
### Set All Player Models Alpha
**This will set the model alpha value for all connected player models**

Type `css_modelalpha <number>` in console (server or client)
Type `css_setmodelalpha <number>` in console (server or client)

Type `!modelalpha <number>` in chat
Type `!setmodelalpha <number>` in chat

`<number>` must be a number between 1 and 255
2 changes: 1 addition & 1 deletion src/Commands/ColorCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ImperfectModels
public partial class ImperfectModels
{
// Command for changing all players model alpha (transparency)
[ConsoleCommand("css_modelalpha", "Changes the alpha of all player models")]
[ConsoleCommand("css_setmodelalpha", "Set the alpha of all player models")]
[CommandHelper(minArgs: 1, usage: "<number for alpha ex. 50>", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)]
[RequiresPermissions("@css/root")]
public void ChangeModelAlphaCommand(CCSPlayerController? player, CommandInfo commandInfo)
Expand Down

0 comments on commit c77a49e

Please sign in to comment.