CLEO Help Chat Help!

CLEO related
Status
Not open for further replies.

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
Hi,

Okay before I jump to the point. I must verify you all that I already saw the address of chat. My simple question is that How I can insert the text in chat without executing it. You know what I'm saying.
For example: Like binds. If we don't put "{enter}" at the end of the text it will not execute. I will automatically open the chat and insert text there. I want to know if there is any way to do it. If Yes, then please instead of address give me a complete code with explanation. I'm Using SAMP 0.3.7 Client and I already read the "Springfield" post on chat but it always crashes. So please give me a complete code with explanation. I will appreciate it. :)

-Husnain
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
937
Location
Lithuania
[shcode=cpp]
0B79: samp set_chat_input_enabled 1
0C8F: samp process_chat_input "/text"
0C72: set_virtual_key 13 down true
wait 100
0C72: set_virtual_key 13 down false
[/shcode]

[shcode=cpp]
0C8F: samp process_chat_input "/text"
[/shcode]
 

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
@Parazitas - It is wrong. It just directly execute the chat instead of opening chat and write on it. There is no difference between "say" and thus opcode. I want to just write on chat but not to execute it.
 
Status
Not open for further replies.
Top