From 741aae86c96f5c7ac3b30b9c52ee97ac5d319d7c Mon Sep 17 00:00:00 2001 From: denNorske Date: Thu, 19 Oct 2023 23:04:02 +0200 Subject: [PATCH] Fix typo (decoarated > decorated) --- YSI_Visual/y_commands/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSI_Visual/y_commands/features.md b/YSI_Visual/y_commands/features.md index e0766cb8..4d910c77 100644 --- a/YSI_Visual/y_commands/features.md +++ b/YSI_Visual/y_commands/features.md @@ -50,7 +50,7 @@ YCMD:i(playerid, params[], help) = me; ## `@cmd()` -`YCMD:` looks like a tag, which has a meaning in pawn and shouldn't be used to declare special function types. Thus YSI is moving towards decorators, which are function-like prefixes to function names starting with `@`. You can always identify a decoarated function as `@decorator() function()`, as opposed to `Tag:function()` which is ambiguous. To declare a basic command use `@cmd()` (or `@command()`, they're synonyms): +`YCMD:` looks like a tag, which has a meaning in pawn and shouldn't be used to declare special function types. Thus YSI is moving towards decorators, which are function-like prefixes to function names starting with `@`. You can always identify a decorated function as `@decorator() function()`, as opposed to `Tag:function()` which is ambiguous. To declare a basic command use `@cmd()` (or `@command()`, they're synonyms): ```pawn @cmd() jump(playerid, params[], help)