CLEO Help gm

  • Thread starter Deleted member 50567
  • Start date
CLEO related
Status
Not open for further replies.

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0B4B: samp set_current_dialog_editbox_text 4@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end
 
D

Deleted member 50567

Guest
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0B4B: samp set_current_dialog_editbox_text 4@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end
did not catch =(
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0AC8: 5@ = allocate_memory_size 260
            0AD3: 5@ = format "%d" 4@
            0B4B: samp set_current_dialog_editbox_text 5@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end
 
D

Deleted member 50567

Guest
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0B4B: samp set_current_dialog_editbox_text 4@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end

I think this box is a textdraw
 
D

Deleted member 50567

Guest
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0AC8: 5@ = allocate_memory_size 260
            0AD3: 5@ = format "%d" 4@
            0B4B: samp set_current_dialog_editbox_text 5@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end
did not catch again =(
 
D

Deleted member 50567

Guest
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0AC8: 5@ = allocate_memory_size 260
            0AD3: 5@ = format "%d" 4@
            0B4B: samp set_current_dialog_editbox_text 5@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end
I think this text box is a textdraw, so it's not happening
 
D

Deleted member 52446

Guest
PHP:
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B4C:  samp is_dialog_active -1
then
    0AC8: 0@ = allocate_memory_size 260
    0BD8: samp get_dialog_caption 0@
    if
    0C29: $NOT_USED = stristr string1 0@ string2 "Insira a soma do Captcha"
    then
        0AC8: 1@ = allocate_memory_size 260
        0BD7: samp get_dialog_text 1@
        if
        0AD4: $NOT_USED = scan_string 1@ format "Qual a soma de '%d' + '%d'?" 2@ 3@
        then
            0A8E: 4@ = 2@ + 3@ // int
            0AC8: 5@ = allocate_memory_size 260
            0AD3: 5@ = format "%d" 4@
            0B4B: samp set_current_dialog_editbox_text 5@
            0B47: samp close_current_dialog_with_button 1
        end
    end
end

end

I think it's doing the sum however it's not putting in the textbox = /
 
Status
Not open for further replies.
Top