CLEO Help Make a message stay on the screen

CLEO related
Status
Not open for further replies.

Salvadoron

Member
Joined
Dec 13, 2014
Messages
5
Reaction score
0
Hey, I'm not really scripting cleos but I take codes from certain cleos and paste it into other cleos and change them.
Does anyone know if it's possible to make a code that once I turn on a certain cleo it will show a message on the top right of the screen that will say that it's on?
I don't mean a message that will show up for a split second and disappear, I'm talking about a message that will remain on the screen as long as the CLEO was activated (there's an option to activate and deactivate the cleo, now I want to make a code that once it's activated a message will show up on the top right of the screen saying "XXX IS ON" in green text and when it's off it'll say "XXX IS OFF".

Thanks in advance, reply if you didn't entirely understand what I'm asking here and I'll explain.
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
Salvadoron said:
supahdupahnubah said:
Yes, it is possible

Lol, do you perhaps know how to do it? haha

Yea, I know  :iknowwhatyoudidthere:
But you didn't ask for code, you did ask for posibility of it, right?

03F0: enable_text_draw 1
03E4: set_text_draw_align_right 1
033F: set_text_draw_letter_size 0.3 0.9
0340: set_text_draw_RGBA 255 255 255 255
081C: draw_text_outline 1 RGBA 0 0 0 200
045A: draw_text_1number 585.0 66.5 GXT 'NUMBER' number 0@
^ copied from health on the screen script, if you look up for other draw_text opcodes you can find what's more suitable for you
 

Codex1337

Active member
Joined
Mar 1, 2014
Messages
170
Reaction score
1
Another way to do it :

Put this at the beginning of your script (not in loop)

Code:
0B6D: 31@ CREATE_FONT "Arial Black" HEIGHT 10 FLAGS 0x5
0BFC: set_global_var "font" = 31@

Then, put this in your main script loop :


Code:
call @DrawText 3 x y z color // Replace with your vars


Put this code at the end of the script, make sure it doesn't coincide with any loop.


Code:
:DrawText   
0BFD: 31@ = get_global_var "font"
0B6B: 7@ = FONT 31@ TEXT "Cheat is running" LENGTH
7@ /= 2
0062: 5@ -= 7@
0B6F: FONT 31@ DRAW_TEXT "Cheat is running" POS 0@ 1@ COLOR 2@
ret 0
 
Status
Not open for further replies.
Top