Skip to content

Commit fa67334

Browse files
authored
Merge pull request #673 from r4sheed/5.x
fixed param
2 parents c0df4b3 + 9f6d42e commit fa67334

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)