CLEO Help Getting started with cleo scripting

CLEO related
Status
Not open for further replies.

Jayy

Active member
Joined
May 16, 2014
Messages
26
Reaction score
0
Hello, I am looking to start scripting cleos i want to start by editing a cleo I already have to fit on my health bars which i have customised on my HUD. What program should I use?

You can see on the far right side two Health Information text one is for health (The red one) and the white one (For Armour).
XAIENAz.jpg



What program should I use for Cleo and also if anybody can help me get it into the position of my health and armour bars by explain it would help alot thanks!


P.S I am not an Admin on NGRP I just have their script :urtheman:
 

Jayy

Active member
Joined
May 16, 2014
Messages
26
Reaction score
0
Ok I got sanny builder and have opened the .cs file what do I need to edit to change the position of the text?

Here is the code:
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

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

:NONAME_6
wait 0 
0@ = Actor.Health($PLAYER_ACTOR)
03E4: set_text_draw_align_right 1 
033F: set_text_draw_letter_size 0.2 0.7 
0340: set_text_draw_RGBA 255 0 0 255 
081C: draw_text_outline 1 RGBA 0 0 0 255 
045A: draw_text_1number 621.8 67.0 GXT 'NUMBER' number 0@  // ~1~
04DD: 1@ = actor $PLAYER_ACTOR armour 
if 
  1@ >= 2 
jump @NONAME_116 
jump @NONAME_6 

:NONAME_116
03E4: set_text_draw_align_right 1 
033F: set_text_draw_letter_size 0.2 0.7 
0340: set_text_draw_RGBA 255 255 255 255 
081C: draw_text_outline 1 RGBA 0 0 0 255 
045A: draw_text_1number 621.8 45.0 GXT 'NUMBER' number 1@  // ~1~
jump @NONAME_6
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
045A: draw_text_1number 621.8 67.0 GXT 'NUMBER' number 0@

045A: draw_text_1number 621.8 45.0 GXT 'NUMBER' number 1@

0@ = HEALTH
1@ = ARMOUR

621.8 = X COORD = +RIGHT -LEFT
67.0/45.0 = Y COORD = +DOWN -UP
 

|]_ReT1neX_[|

Active member
Joined
Jul 28, 2014
Messages
132
Reaction score
0



If you're going to learn CLEO then, you need to be patient.

There are some pretty good tutorials here in UG. all you have to do is Search




Tutorials





There are some pretty good Snippets too




Snippets






[glow=red,2,300]Good Luck[/glow]





[move] :urtheman: :urtheman: :urtheman: [/move]
 

silentl747

Active member
Joined
Jul 7, 2014
Messages
96
Reaction score
0
before you learn the basics, You must read some tutorials here on ugbase.eu, that explains how to jump on label, whats the first code you need to type on sanny, text, and some variables, thats the basic for me. I suggest you read the tutorials of [member=4125]BlackHat[/member]
 
Status
Not open for further replies.
Top