Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] cmd #151

Closed
D3Pheonix opened this issue Jun 12, 2024 · 4 comments
Closed

[suggestion] cmd #151

D3Pheonix opened this issue Jun 12, 2024 · 4 comments

Comments

@D3Pheonix
Copy link

Hi, can u add in-game debug console, like in SAMPFUNCS ?

@D3Pheonix D3Pheonix changed the title Cmd [suggestion] debug console Jun 12, 2024
@D3Pheonix D3Pheonix changed the title [suggestion] debug console [suggestion] cmd Jun 12, 2024
@MiranDMC
Copy link
Collaborator

MiranDMC commented Jun 13, 2024

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

image

@D3Pheonix
Copy link
Author

D3Pheonix commented Jun 13, 2024

SF Console

load/unload script(s), calling opcodes directly from the console.

image

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:

image

@x87
Copy link

x87 commented Jun 13, 2024

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

@MiranDMC
Copy link
Collaborator

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.

@x87 x87 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants