Skip to content

Commit

Permalink
fixed param
Browse files Browse the repository at this point in the history
  • Loading branch information
r4sheed committed Apr 26, 2024
1 parent c0df4b3 commit 9f6d42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YSI_Visual/y_commands/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ YCMD:i(playerid, params[], help) = me;

The `@cmd()` decorator can take many named parameters to configure the command behaviour:

* `.disable` - Makes the command unusable by default, until you enable it again with `Command_SetDisabled(id, false);`:
* `.disabled` - Makes the command unusable by default, until you enable it again with `Command_SetDisabled(id, false);`:

```pawn
@cmd(.disable = true) unusable(playerid, params[], help)
@cmd(.disabled = true) unusable(playerid, params[], help)
{
return 1;
}
Expand Down

0 comments on commit 9f6d42e

Please sign in to comment.