From 9f6d42eef76838e5e9f44e90283fdca803039044 Mon Sep 17 00:00:00 2001 From: r4sheed <25135303+r4sheed@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:41:03 +0200 Subject: [PATCH] fixed param --- YSI_Visual/y_commands/features.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YSI_Visual/y_commands/features.md b/YSI_Visual/y_commands/features.md index 7a9e83ec..f52b1791 100644 --- a/YSI_Visual/y_commands/features.md +++ b/YSI_Visual/y_commands/features.md @@ -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; }