Hey, I would like to know how it is possible to write a chat message in the input but without sending it to server, until you press enter (to send it obviously). I mean, like pressing t manually and writing something in the chat, but in code basically. Also I would like to clear the input if there's text on it, before writing something in it. Manually that would be pressing t, control + A and delete, there must be something to do these things for sure...
Basically this:
0B76: samp set_chat_input_text 1@
EDIT: What I wanted is SF->getSAMP()->getChat()->SetChatInputText(), ty to the guy below btw!