21.01.2013, 17:38
Hai guys (almost changed u to a)
I have a simple idea for SA:MP, clearing the chat when its being closed (Esc button) or just setting its value to "" (nothing) so people wouldnt show their rcon by some mistake (sometimes i was 100% sure that chat is empty, and on chat it showed /rcon login PW)
In vb.net it would be like:
Of course this cant be probably used in SA:MP because the code up is VB.NET and if im correct then SA:MP is made in C++ , but im pretty sure its easy to convert.ChatBox.Text means that it changes "Text" value in ChatBox (Textbox)
I think its not so hard coding, and you could add this idea.
I have a simple idea for SA:MP, clearing the chat when its being closed (Esc button) or just setting its value to "" (nothing) so people wouldnt show their rcon by some mistake (sometimes i was 100% sure that chat is empty, and on chat it showed /rcon login PW)
In vb.net it would be like:
Код:
'This code happens on chat close (esc) THIS IS JUST A COMMENT ChatBox.Text = "" 'Chat is cleared, its value is set to like..nothing
I think its not so hard coding, and you could add this idea.