Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Base.h
- static void credit(int Status, LPDIRECT3DDEVICE9 pDevice);
- //Menu
- INT CurrentAction = 0;
- Menu->AddItem("Hack Made By Tech X" ,0, 1, 0, "Off\0 On", (HackProc) credit);
- //if i wanna do multiples i normally do
- Menu->AddItem("Hack Made By Tech X" ,0, 1, 0, "Off\0 1/0 2/0 3/0", (HackProc) credit);
- //Hack itself
- void cBase::credit(int Status, LPDIRECT3DDEVICE9 pDevice)
- {
- if(Status > 0)
- {
- CurrentAction = Status;
- if(GetAsyncKeyState(VK_DELETE)){
- if(g_LTClient->IsConnected())
- {
- CAutoMessage cMsg;
- cMsg.Writeuint8( CurrentAction );
- cMsg.Writeuint8(kPEDropWeapon);
- g_LTClient->SendToServer( cMsg.Read(), MESSAGE_GUARANTEED );
- Status = 0;
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment