Advertisement
dcomicboy

example2

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