Skip to content

Commit 9f6d42e

Browse files
committed
fixed param
1 parent c0df4b3 commit 9f6d42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

YSI_Visual/y_commands/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ YCMD:i(playerid, params[], help) = me;
6464

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

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

6969
```pawn
70-
@cmd(.disable = true) unusable(playerid, params[], help)
70+
@cmd(.disabled = true) unusable(playerid, params[], help)
7171
{
7272
return 1;
7373
}

0 commit comments

Comments
 (0)