Help Cleo Fish In Samp 0.3 DL

OP
OP
N
Joined
Nov 21, 2018
Messages
4
Likes
0
Points
1
1
#6
[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

Well-Known Member
Joined
Jan 2, 2017
Messages
775
Likes
26
Points
43
Location
Lithuania
Website
ugbase.eu
10
#11
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: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "/ask"
0AC8: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "Enabled"
0AC8: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "Disabled"


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

if
[email protected] == true
then
    0AB1: @SEND_CMD 1 text [email protected]
    wait 10000 // 10 sec
end
  
END

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


:Chatmsg
//0AB1: @Chatmsg 2 $color $text
IF 0AA2: [email protected] = "samp.dll"
THEN
    0085: [email protected] = [email protected]
    [email protected] += SAMP_CHAT_INFO_OFFSET_03DL
    0A8D: [email protected] = readMem [email protected] sz 4 vp 1
    0085: [email protected] = [email protected]
    [email protected] += FUNC_ADDTOCHATWND_03DL  
    0AA6: call [email protected] struct [email protected] num_params 5 pop 0 params 0 [email protected] 0 [email protected] 8
END
0AB2: 0
 
OP
OP
N
Joined
Nov 21, 2018
Messages
4
Likes
0
Points
1
1
#12
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: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "/ask"
0AC8: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "Enabled"
0AC8: [email protected] = allocate_memory_size 260
0AD3: [email protected] = format "Disabled"


WHILE TRUE
    WAIT 0

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

if
[email protected] == true
then
    0AB1: @SEND_CMD 1 text [email protected]
    wait 10000 // 10 sec
end

END

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


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