Mtasa-blue: debugscript returns "debugscript: Your debug mode was set to 0" if using a character value.

Created on 25 Mar 2020  路  5Comments  路  Source: multitheftauto/mtasa-blue

debugscript will set it's status to "0" whenever typing "debugscript (any word character)".

how to reproduce the bug:

  1. type /debugscript 1 or 2 or 3 for e.g. (debugscript 3)
  2. type /debugscript word for e.g. (debugscript a)
    and it'll return "debugscript: Your debug mode was set to 0"
bug good first issue

Most helpful comment

maybe this bug is actually a feature

All 5 comments

I guess this happens bcuz atoi will return 0 in failure to read a number, too lazy to check

Btw I can reproduce the bug

maybe this bug is actually a feature

Im pretty sure its intended, because when you fuck up, you can just type in "debugscript ", then smash ur keyboard, and press enter in the smashing process, and then alt+f4

Dont mind this, I did something wrong.

Fixed in 8f25c22 via #1602

Was this page helpful?
0 / 5 - 0 ratings

Related issues

commanderagu picture commanderagu  路  3Comments

ALw7sH picture ALw7sH  路  3Comments

CrosRoad95 picture CrosRoad95  路  3Comments

CrosRoad95 picture CrosRoad95  路  4Comments

PlatinMTA picture PlatinMTA  路  3Comments