CLEO Help how to get fps in version 0.3dl ?

CLEO related

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
An example of very old and good code.
JavaScript:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
wait 0
2@ = 30

:NONAME_11
wait 0
1@ = 0
TIMERA = 0

:NONAME_29
wait 0
1@ += 1
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 16.0 384.0 GXT 'NUMBER' number 2@  // ~1~
if
  TIMERA > 999
else_jump @NONAME_29
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 16.0 384.0 GXT 'NUMBER' number 1@  // ~1~
0085: 2@ = 1@ // (int)
jump @NONAME_11
 

auma

Member
Joined
Jul 31, 2022
Messages
12
Reaction score
0
An example of very old and good code.
JavaScript:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
wait 0
2@ = 30

:NONAME_11
wait 0
1@ = 0
TIMERA = 0

:NONAME_29
wait 0
1@ += 1
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 16.0 384.0 GXT 'NUMBER' number 2@  // ~1~
if
  TIMERA > 999
else_jump @NONAME_29
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 16.0 384.0 GXT 'NUMBER' number 1@  // ~1~
0085: 2@ = 1@ // (int)
jump @NONAME_11


How to use it?
 
Top