Skip to content

Commit d0b6a9f

Browse files
committed
fix: add quotes
1 parent 1f2efec commit d0b6a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/6.plugins/5.s2sdk/4.guides/1.console-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Now we've successfully implemented a command -- though it doesn't do anything ye
2424
In fact, it will say "Unknown command" if you use it! This is because you're not returning `ResultType.Handled` in your callback.
2525
Since you haven't, Server believes you didn't want the Source2 Engine to know the command was registered, and it handles it so.
2626
The reason Server expects your function to return `ResultType.Handled` is because of the Result tag you put in your function's prototype.
27-
The Result tag specifies that Command_MySlap must return one of four things. See the Result enumeration in the API to learn more about these return types and when to use them.
27+
The Result tag specifies that `Command_MySlap` must return one of four things. See the Result enumeration in the API to learn more about these return types and when to use them.
2828

2929
```csharp
3030
public ResultType Command_MySlap(int caller, int context, string[] arguments)

0 commit comments

Comments
 (0)