CLEO Help Wanted text draw help

CLEO related
Status
Not open for further replies.

Monstercat

Well-known member
Joined
Feb 26, 2013
Messages
281
Reaction score
7
Hey i want to make a CLEO that show me how many Wanteds i have.

Code:
//-------------MAIN---------------
0000: NOP 
03F0: enable_text_draw 1 

:NONAME_6
wait 0 
01C0: 14@ = actor $PLAYER_ACTOR wanted_level
033F: set_text_draw_letter_size 0.4 1.1 
081C: draw_text_outline 1 RGBA 0 0 0 255 
0340: set_text_draw_RGBA 126 255 0 255 
045A: draw_text_1number 514.0 66.0 GXT 'NUMBER' number 14@  // ~1~
jump @NONAME_6

This is what i got but it dosent work -.-
So where is my mistake
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,495
Reaction score
238
Location
( ͡° ͜ʖ ͡°)
Dunno but try this:
Code:
{$CLEO .cs}
THREAD "0x688_Sucks" 

:START
wait 0
if
Player.Defined($PLAYER_ACTOR)
jf @START
03F0: enable_text_draw 1
01C0: 14@ = actor $PLAYER_ACTOR wanted_level
033F: set_text_draw_letter_size 0.4 1.1 
081C: draw_text_outline 1 RGBA 0 0 0 255 
0340: set_text_draw_RGBA 126 255 0 255 
045A: draw_text_1number 514.0 66.0 GXT 'NUMBER' number 14@  // ~1~
jump @START
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
8
hmm, instead of actor wanted level, try player wanted level. Like this :
01C0: 14@ = player $PLAYER_CHAR wanted_level
not actor $PLAYER_CHAR i meant.

also maybe put another
01C0: 14@ = player $PLAYER_CHAR wanted_level
opcode right before draw_text_1number, so that it will check twice ;D
 

Monstercat

Well-known member
Joined
Feb 26, 2013
Messages
281
Reaction score
7
Ok, I've done it now so as you said.
Now this is the script but it just dont work its only say 0 i test it on 3 differend servers.

Code:
{$CLEO .cs}
THREAD "Fag" 

:START
wait 0
if
Player.Defined($PLAYER_CHAR)
jf @START
03F0: enable_text_draw 1
01C0: 14@ = player $PLAYER_CHAR wanted_level
033F: set_text_draw_letter_size 0.4 1.1 
081C: draw_text_outline 1 RGBA 0 0 0 255 
0340: set_text_draw_RGBA 126 255 0 255
045A: draw_text_1number 514.0 66.0 GXT 'NUMBER' number 14@  // ~1~
jump @START
 

Monstercat

Well-known member
Joined
Feb 26, 2013
Messages
281
Reaction score
7
Ok.. I know that you can read the Wanteds.
With AHK i can make an Overlay that shows me my Wanteds but i cant use AHK cause the API only works on R2
and im using R1
 
Status
Not open for further replies.
Top