CLEO Help Cleo Fish In Samp 0.3 DL

CLEO related
Status
Not open for further replies.

NartSinger

Member
Joined
Nov 21, 2018
Messages
7
Reaction score
0
I need to find a cleo / fish every 10 seconds on samp 0.3 dl no SF thank you very much.
 

NartSinger

Member
Joined
Nov 21, 2018
Messages
7
Reaction score
0
[QUOTE = "Parazitas, post: 115336, member: 39678"] Tôi có thể làm được.
IP máy chủ? [/ QUOTE]
Cảm ơn bạn
 
Last edited:

Parazitas

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

wait 10000 /// wait 10sec until samp is redy

const
SAMP_CHAT_INFO_OFFSET_03DL = 0x2ACA10
FUNC_ADDTOCHATWND_03DL = 0x67650
FUNC_SAY_03DL = 0x5860
FUNC_SEND_CMD_03DL = 0x69340
end

0AC8: 0@ = allocate_memory_size 260
0AD3: 0@ = format "/ask"
0AC8: 1@ = allocate_memory_size 260
0AD3: 1@ = format "Enabled"
0AC8: 2@ = allocate_memory_size 260
0AD3: 2@ = format "Disabled"


WHILE TRUE
    WAIT 0
  
if
0ADC:   test_cheat "CMD"
then 
    if
    31@ == false
    then
        0AB1: @Chatmsg 2 color 0xFF00FF00 text 1@
        31@ = true
    else
        0AB1: @Chatmsg 2 color 0xFFFF0000 text 2@
        31@ = false
    end 
    wait 1000 // anti spam
end

if
31@ == true
then
    0AB1: @SEND_CMD 1 text 0@
    wait 10000 // 10 sec
end
  
END

:SEND_CMD
//0AB1: @SEND_CMD 1 $text
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += FUNC_SEND_CMD_03DL
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0


:Chatmsg
//0AB1: @Chatmsg 2 $color $text
IF 0AA2: 2@ = "samp.dll"
THEN
    0085: 3@ = 2@
    3@ += SAMP_CHAT_INFO_OFFSET_03DL
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0085: 4@ = 2@
    4@ += FUNC_ADDTOCHATWND_03DL  
    0AA6: call 4@ struct 3@ num_params 5 pop 0 params 0 0@ 0 1@ 8
END
0AB2: 0
 

NartSinger

Member
Joined
Nov 21, 2018
Messages
7
Reaction score
0
PHP:
{$CLEO .cs}
0000:

wait 10000 /// wait 10sec until samp is redy

const
SAMP_CHAT_INFO_OFFSET_03DL = 0x2ACA10
FUNC_ADDTOCHATWND_03DL = 0x67650
FUNC_SAY_03DL = 0x5860
FUNC_SEND_CMD_03DL = 0x69340
end

0AC8: 0@ = allocate_memory_size 260
0AD3: 0@ = format "/ask"
0AC8: 1@ = allocate_memory_size 260
0AD3: 1@ = format "Enabled"
0AC8: 2@ = allocate_memory_size 260
0AD3: 2@ = format "Disabled"


WHILE TRUE
    WAIT 0

if
0ADC:   test_cheat "CMD"
then
    if
    31@ == false
    then
        0AB1: @Chatmsg 2 color 0xFF00FF00 text 1@
        31@ = true
    else
        0AB1: @Chatmsg 2 color 0xFFFF0000 text 2@
        31@ = false
    end
    wait 1000 // anti spam
end

if
31@ == true
then
    0AB1: @SEND_CMD 1 text 0@
    wait 10000 // 10 sec
end

END

:SEND_CMD
//0AB1: @SEND_CMD 1 $text
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += FUNC_SEND_CMD_03DL
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0


:Chatmsg
//0AB1: @Chatmsg 2 $color $text
IF 0AA2: 2@ = "samp.dll"
THEN
    0085: 3@ = 2@
    3@ += SAMP_CHAT_INFO_OFFSET_03DL
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0085: 4@ = 2@
    4@ += FUNC_ADDTOCHATWND_03DL
    0AA6: call 4@ struct 3@ num_params 5 pop 0 params 0 0@ 0 1@ 8
END
0AB2: 0
i have 0 idea how to make a cleo, could you please upload the final product thanks
 
Last edited:
Status
Not open for further replies.
Top