Guest User

Untitled

a guest
Jul 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.71 KB | None | 0 0
  1. //Base.h
  2. static void credit(int Status, LPDIRECT3DDEVICE9 pDevice);
  3.  
  4. //Menu
  5. INT CurrentAction = 0;
  6.  
  7. Menu->AddItem("Hack Made By Tech X" ,0, 1, 0, "Off\0 On", (HackProc) credit);
  8.  
  9. //if i wanna do multiples i normally do
  10. Menu->AddItem("Hack Made By Tech X" ,0, 1, 0, "Off\0 1/0 2/0 3/0", (HackProc) credit);
  11.  
  12.  
  13.  
  14. //Hack itself
  15. void cBase::credit(int Status, LPDIRECT3DDEVICE9 pDevice)
  16. {
  17.     if(Status > 0)
  18.     {  
  19.         CurrentAction = Status;
  20.             if(GetAsyncKeyState(VK_DELETE)){
  21.                 if(g_LTClient->IsConnected())
  22.                 {  
  23.                     CAutoMessage cMsg;
  24.                     cMsg.Writeuint8( CurrentAction );
  25.                     cMsg.Writeuint8(kPEDropWeapon);
  26.                     g_LTClient->SendToServer( cMsg.Read(), MESSAGE_GUARANTEED );
  27.         Status = 0;
  28.             }
  29.         }
  30.     }
  31. }
Add Comment
Please, Sign In to add comment