[Help]Clear the Textbox Dev_Kit

05/04/2021 19:59 thaidu0ngpr0#1
I am having difficulty clearing textbox in dev_kit
If you have idea please help me, thanks a lot
[Only registered and activated users can see links. Click Here To Register...]
05/04/2021 22:43 bimbum*#2
Quote:
Originally Posted by thaidu0ngpr0 View Post
I am having difficulty clearing textbox in dev_kit
If you have idea please help me, thanks a lot
[Only registered and activated users can see links. Click Here To Register...]
it has to be something like this
Code:
	for(int i =0;i<m_textbox->GetNumberOfItems();i++) {

		m_textbox->RemoveLine(i);
	}
05/05/2021 00:01 Anonymous-9238#3
I'll give you a hint that will give you the function that bimbum mentioned (it works exactly as he said btw).

Check console command /chatclear :)
05/05/2021 17:56 thaidu0ngpr0#4
Quote:
Originally Posted by Simulation1337 View Post
I'll give you a hint that will give you the function that bimbum mentioned (it works exactly as he said btw).

Check console command /chatclear :)
Can you give me func?

Quote:
Originally Posted by bimbum* View Post
it has to be something like this
Code:
	for(int i =0;i<m_textbox->GetNumberOfItems();i++) {

		m_textbox->RemoveLine(i);
	}
do you have RemoveLine func ?
05/05/2021 21:36 bimbum*#5
here you go , credits goes to florian0
Code:
void CIFTextBox::RemoveLine(int line) {
    reinterpret_cast<void(__thiscall*)(CIFTextBox*, int)>(0x0063AFF0)(this, line);
}
05/05/2021 21:48 thaidu0ngpr0#6
Quote:
Originally Posted by bimbum* View Post
here you go , credits goes to florian0
Code:
void CIFTextBox::RemoveLine(int line) {
    reinterpret_cast<void(__thiscall*)(CIFTextBox*, int)>(0x0063AFF0)(this, line);
}
Thanks you very much