CLEO Help Cleo reaction

CLEO related
Status
Not open for further replies.

san11

Active member
Joined
Aug 13, 2015
Messages
51
Reaction score
3
Hi, does anyone have cleo reaction hack or can someone make reaction hack.

Something like :

First guy that types (some random numbers and letters) wins $$ but you have to type /reaction (random numbers and letters that appeared)
 

ini

Well-known member
Joined
Sep 28, 2015
Messages
321
Reaction score
115
So you need a kind of cleo with automatically sends /reaction (+ given random string from the chat box) ?
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
NOT TESTED
Code:
{$CLEO .cs}
0000:
  
  
REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 
  
0B34: samp register_client_command "atype" to_label @Auto_Type
  
WHILE TRUE
    WAIT 0 
      
IF
7@ == 1
THEN 
    0AC8: 1@ = allocate_memory_size 260
    0AC8: 2@ = allocate_memory_size 260
    FOR 0@ = 97 TO 99 // three lines detecting
    0B75: samp get_chat_string 0@ text_to 1@ prefix_to 2@ color_to 3@ prefix_color_to 4@
    
    IF
    0AD4: $NOT_USED = scan_string 8@ format "[REAKCIJA] Ko prvi napise %s (/reakcija) do%s" 5@ $NOT_USED
    THEN
        say "/reakcija %s" 5@
    END
    
    END
END

END

:Auto_Type
if
7@ == 0
then
    7@ = 1
    018C: play_sound 1083 at 0.0 0.0 0.0 // ON
else
    7@ = 0
    018C: play_sound 1084 at 0.0 0.0 0.0      // OFF
end
0B43: samp cmd_ret
 
Status
Not open for further replies.
Top