CLEO Help Tutorial Please [help]

CLEO related
Status
Not open for further replies.

NoBody

Active member
Joined
Dec 23, 2014
Messages
29
Reaction score
0
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 
0B34: samp register_client_command "r" to_label @NONAME_25 

:NONAME_12
wait 0 
SAMP.CmdRet
jump @NONAME_12 

:NONAME_25
wait 0 
   SAMP.IsCommandTyped(0@)
if 
0AD4: 1@ = scan_string 0@ format "%d %s" 2@ 3@v  
else_jump @NONAME_12 
0AF9: samp say_msg "/report %d %s" 2@ 3@v  
SAMP.CmdRet
jump @NONAME_12

If  i change the command or register client commands then its not work . Getting crash every time WTF?

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 
0B34: samp register_client_command "f" to_label @NONAME_25 

:NONAME_12
wait 0 
SAMP.CmdRet
jump @NONAME_12 

:NONAME_25
wait 0 
   SAMP.IsCommandTyped(0@)
if 
0AD4: 1@ = scan_string 0@ format "%d %s" 2@ 3@v  
else_jump @NONAME_12 
0AF9: samp say_msg "/fool %d %s" 2@ 3@v  
SAMP.CmdRet
jump @NONAME_12


Tell me about this please
I want to change these commads tooo.


[member=6677]TH3RM4L[/member] [member=111]springfield[/member] [member=60]Opcode.eXe[/member]
    :( :(
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Code:
{$CLEO}

while true
wait 0 until
SAMP.Available()

0B34: samp register_client_command "f" to_label @NONAME25 



:NONAME25
wait 0 
SAMP.IsCommandTyped(0@)
if 
0AD4: 1@ = scan_string 0@ format "%d %s" 2@ 3@  
else_jump @NONAME12 
0AF9: samp say_msg "/fool %d %s" 2@ 3@  
SAMP.CmdRet
jump @NONAME25

:NONAME12
wait 0 ms
SAMP.CmdRet
jump @NONAME25
 
Status
Not open for further replies.
Top