fivem-docs icon indicating copy to clipboard operation
fivem-docs copied to clipboard

Use CommandAttribute instead of API.RegisterCommand

Open Sampleeeee opened this issue 4 years ago • 1 comments

I feel this is much easier to understand than creating a new Action, and what not. Also makes code look much cleaner.

Sampleeeee avatar Mar 15 '21 21:03 Sampleeeee

Not entirely sure what happened here, it seems like you modified creating-your-first-script-csharp to process scripting commands, but the guide is explicitly written, to explain a user how to go about creating their first script. It should provide some basic examples, it looks like some of those examples were removed by looking at this PR, that should be corrected :-)

4mmonium avatar Mar 13 '22 14:03 4mmonium

This is already apart of the tracker https://github.com/citizenfx/fivem-docs/issues/466, going to close this as it will get rewritten later

AvarianKnight avatar Aug 15 '24 19:08 AvarianKnight