CLEO Help [HELP] simple cleo mod (it's easy)

CLEO related
Status
Not open for further replies.

johnnycrooks

New member
Joined
Jun 26, 2017
Messages
4
Reaction score
0
hello, i'm noob here and i want to create a cleo that can say something in chat when you press a key
can someone help me with that?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
[shcode=cpp]
{$CLEO}
0000:

repeat
    wait 100
until 0AFA:

while true
    wait 0
    if 0AB0: key_pressed XX //your vk here
    then
        wait 100 //some delay so you don't spam
        0AF9: "i will say this in chat" //send this msg
    end
end
[/shcode]

The script above requires SF, if you don't/can't have/use, look at this http://ugbase.eu/Thread-SNIPPET-Write-in-chat-without-SFUNCS-0AF8-0AF9
 

johnnycrooks

New member
Joined
Jun 26, 2017
Messages
4
Reaction score
0
springfield said:
[shcode=cpp]
{$CLEO}
0000:

repeat
    wait 100
until 0AFA:

while true
    wait 0
    if 0AB0: key_pressed XX //your vk here
    then
        wait 100 //some delay so you don't spam
        0AF9: "i will say this in chat" //send this msg
    end
end
[/shcode]

The script above requires SF, if you don't/can't have/use, look at this http://ugbase.eu/Thread-SNIPPET-Write-in-chat-without-SFUNCS-0AF8-0AF9

i love it but i want to say in chat like a server line (for faking an evidence)
 
Status
Not open for further replies.
Top