CLEO Help Auto Reaction

CLEO related

Angel9

Active member
Joined
May 6, 2021
Messages
65
Reaction score
2
Location
Belgrade, Serbia
Auto say reaction test not working, crash game after view reaction string,
Reaction log:
{FFC50A}[Reakcija]Ko prvi upise {FFFFFF} j7XLNjWsTh {FFC50A} osvaja{FFFFFF} $2033!

Code:
{$CLEO .cs}

0000: NOP

repeat
wait 0
until 0afa:

while true
wait 0

if
0B61:  samp is_local_player_spawned
then
    0AC8: 0@ = allocate_memory_size 260
    0AC8: 1@ = allocate_memory_size 260
    0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
    if
    0AD4: $NOT_USED = scan_string 0@ format "{%x}[Reakcija]Ko prvi upise {%x} %s {%x} osvaja{%x} $%d!" $NOT_USED $NOT_USED 4@v $NOT_USED $NOT_USED $NOT_USED
     then
        chatmsg "/reakcija %s" 4@v
    end
end
  END
 
Last edited:

Saam

Active member
Joined
Apr 18, 2021
Messages
121
Reaction score
63
Location
0x73616D
according to what I understood you want to do, you must use the opcode:
Code:
0AF9: samp say_msg "your message"
 
Top