multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

Update DebugScript Cmd Syntax #3491

Open Fernando-A-Rocha opened 1 week ago

Fernando-A-Rocha commented 1 week ago

I rewrote the debugscript command function to show better syntax.

Previously, it would not tell you the correct debugscript modes to use unless you entered a single digit wrong. Doing /debugscript 69 wouldn't tell you what the correct modes are, for example.

With this, the syntax will always be helpful.

Fernando-A-Rocha commented 1 week ago

My bad, errors will be fixed

Fernando-A-Rocha commented 1 week ago

Fixed. I learned to compile MTA:SA before submiting PRs now xD. I would appreciate a review as this is my first small cpp contribution 😊