Skip to content

Commit

Permalink
Merge pull request #673 from r4sheed/5.x
Browse files Browse the repository at this point in the history
fixed param
  • Loading branch information
Y-Less authored Apr 28, 2024
2 parents c0df4b3 + 9f6d42e commit fa67334
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 fa67334

Please sign in to comment.