Closed D3Pheonix closed 2 months ago
What does it mean? There are already features for printing debug messages from scripts.
https://library.sannybuilder.com/#/sa/classes/Debugger
See for example trace
https://library.sannybuilder.com/#/sa/debug/2101
load/unload script(s), calling opcodes directly from the console.
And maybe add an opcode that will register commands in console. For example, I type something like "carhp" or "carhp [value]", and my label executed:
CLEO Redux (JS) can execute any command (opcode) from a text file in real time.
It's not in-game console, but close enough if you run the game and text editor windows side by side
It would not be difficult to write something like that as cs script. This looks like ImGUI, which is available for regular CLEO too. Generally sounds like stand alone project that does not have to be build into CLEO.
Hi, can u add in-game debug console, like in SAMPFUNCS ?