CLEO Help A simple script not working??

CLEO related
Status
Not open for further replies.

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
Code:
{$CLEO}
thread "DMG"

:start
wait 0
if and
  Player.Defined($PLAYER_ACTOR)
  Player.Defined($PLAYER_CHAR)
jf @start
0226: 0@ = actor $PLAYER_ACTOR health 
0ACC: show_text_lowpriority "~g~Health:~w~~n~ %d" time 100 0@
jump @start
Not showing health!
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
[shcode=cpp]
{$CLEO}

THREAD "DMG"

WHILE TRUE
WAIT 0
IF
056D: actor $PLAYER_ACTOR defined
THEN
0226: 0@ = actor $PLAYER_ACTOR health
0AD1: show_formatted_text_highpriority "Health: %d" time 100 0@
END
END
[/shcode]
 
Status
Not open for further replies.
Top