Apu889 Posted February 1, 2013 Share Posted February 1, 2013 hello, i'm new on cleo scripting. so, how to 'convert' opcode 045A to 038E? i mean, i want this default look to look like this: here is the source code: http://pastebin.com/8yancQVH Link to comment Share on other sites More sharing options...
ZAZ Posted February 1, 2013 Share Posted February 1, 2013 test the template below, press Backspace to decrease the bar {$CLEO .cs}:Status_Bar_103A4: name_thread 'STATBAR':Status_Bar_4wait 0if0256: player $PLAYER_CHAR definedjf @[email protected] = [email protected] = 55.00007: [email protected] = 614.0 // floating-point values0007: [email protected] = 614.0 // floating-point values:Status_Bar_126wait 0if0256: player $PLAYER_CHAR definedjf @Status_Bar_4if [email protected] > 0.00AB0: key_pressed 8jf @[email protected] -= [email protected] -= 0.1:Status_Bar_1300087: [email protected] = [email protected] // floating-point values only0013: [email protected] *= 1.4 // floating-point values0013: [email protected] *= 0.8 // floating-point values0063: [email protected] -= [email protected] // floating-point values03F0: enable_text_draw 1038E: draw_box_position 570.0 240.0 size 80.0 9.0 RGBA 0 0 0 255038E: draw_box_position [email protected] 240.0 size [email protected] 6.0 RGBA 210 242 242 2550087: [email protected] = [email protected]: [email protected] = [email protected] @Status_Bar_126 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...