Player Kick

Posts 115 of 20 · Page 1 of 2
Player Kick
Code:
void cESP::ForcVoteKick(bool enabled)
{
	int linecount = 1;
	int linecount2 = 1;
	char lol[235];

	if(!enabled)
		return;

	cSFXMgr* SFXMgr = engine2->GetGameClientShell()->GetSFXMgr();
	for( int i = 0; i < 24; i++ )
	{
		cCharacterFX* fx = (cCharacterFX*)SFXMgr->SFXList[SFX_CHARACTER].List[i];

		if( engine2->ValidPointer( fx ) && engine2->ValidPointer( fx->Object ) )
		{

			if( fx->Index == local.iIndex )
				continue;

			c_player* client_info = engine2->GetClientInfoMgr()->GetClientByID( fx->Index );

			if( engine2->ValidPointer( client_info ))
			{
				sprintf( lol,  "%s", client_info->Name);

				menu->pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
				menu->Gradient(320, 10, 150, 20, Black1, Black2, horizontal, menu->pDevice); // Box do título
				menu->PrintText(STRING_ForceVoteKick, 395, 12, 1, 0, true, WhiteII, Black); // Título

//				menu->Gradient(320, 30, 150, (linecount * 18) + 4, Black1, Black2, horizontal, menu->pDevice); // Box das funções
				menu->CheckBox( 325, 32 + (linecount * 18), hacks->Hack[101 + fx->Index], lol, menu->pDevice ); // Funções
				linecount = linecount + 1;

				if(hacks->Hack[101 + fx->Index])
				{
					g_LTClient = *(CLTClient**)ADDR_LTClientDLL;
					g_CommonLT = g_LTClient->Common();
	
					if(engine2->ValidPointer(g_LTClient))
					{
						CAutoMessage Msg;
						Msg.Writeuint8(206);
						Msg.Writeuint8(1); 
						Msg.Writeuint8(1); 
						Msg.Writeuint16(fx->Index); // ID Player
						Msg.Writeuint16(1); // ID Reason
						g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);
						hacks->Hack[101 + fx->Index] = 0;
						hacks->Hack[100] = 0;
					}
				}
			
				if(fx->Object == NULL)
					hacks->Hack[101 + fx->Index] = 0;
			}
		}
	}			
}
Note:
You can select any player can be Alpha or Bravo


Credits:
Zerocool
PiKaMucha_Itu
OMG Bro !!! Thanks for sharing this !!! Love you PikaMucha !!! Like me gusta mucha!
Quote Originally Posted by kaskore View Post
OMG Bro !!! Thanks for sharing this !!! Love you PikaMucha !!! Like me gusta mucha!
Wow that was monotonous, gusta already means to like.

OT: Why did you release this, I was hoping this would stay private
Quote Originally Posted by arun823 View Post
Wow that was monotonous, gusta already means to like.

OT: Why did you release this, I was hoping this would stay private
Nothing stays private in the Combat Arms Source Code section. wat uz tawkin bawt willisz.
Quote Originally Posted by arun823 View Post
Wow that was monotonous, gusta already means to like.

OT: Why did you release this, I was hoping this would stay private
Nothing stays private in the Combat Arms Source Code section. Wautahcu twalkni baout Hwiles.
Quote Originally Posted by Saltine View Post

Nothing stays private in the Combat Arms Source Code section. Wautahcu twalkni baout Hwiles.
I'm now beginning to think this section will be like the CA BR Source Code section.
Quote Originally Posted by arun823 View Post
I'm now beginning to think this section will be like the CA BR Source Code section.
Why do you guys care so much if all the stuff gets released? I mean it takes 15 minutes to reclass and 5 to go into ollydbg to compare and contrast the classes if they change. It's better if nexon finds all this shit and updates it so then the people that can actually update the hack won't worry and the people that can't will come begging for them.
Quote Originally Posted by arun823 View Post
Wow that was monotonous, gusta already means to like.

OT: Why did you release this, I was hoping this would stay private
This wouldn't have gotten into anyone's hands if it wasn't for disav0w_'s VIP Base being released

There are some who figured it out, who knew. But most didn't.
Quote Originally Posted by Saltine View Post

Nothing stays private in the Combat Arms Source Code section. Wautahcu twalkni baout Hwiles.

Ive been trying to contact you please just check your Visitor messages because
im looking to hire a Coder
Great job dude.
PikaMucha in Brazilian means:

Pika = penis || Mucha = shriveled

then

shriveled penis
wasnt this released a few months ago? just not with menu selection
thanks for this will add this when I start making hacks.
Posts 115 of 20 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?