Advertisement
dcomicboy

weapon spawn/lifetaker REAL

Mar 20th, 2012
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. void WeaponSpawn( int WEAPONID, LPDIRECT3DDEVICE9 pDevice )
  2. {
  3. if((*(BYTE *)GameStatus == 1) && w34p0n5p4wn) {
  4. if(GetAsyncKeyState(VK_SPWN)&1)
  5. {
  6. g_LTClient = *(CLTClient**)ADDR_LTCLIENTDLL;
  7. g_CommonLT = g_LTClient->Common();
  8.  
  9. CAutoMessage Msg;
  10. Msg.Writeuint8 (50);
  11. Msg.Writeuint8 (1);
  12. Msg.Writeuint8 (1);
  13. Msg.Writeuint8 (1);
  14. Msg.Writeuint8 (1);
  15. Msg.Writeuint8 (1);
  16. Msg.Writeuint8 (WEAPONID);
  17. Msg.Writeuint8 (1);
  18. Msg.Writeuint8 (1);
  19. g_LTClient-> SendToServer (Msg.Read (), MESSAGE_GUARANTEED);
  20. keybd_event (0x33, 0,0,0);
  21.  
  22. }
  23. }
  24. }
  25.  
  26. //lifetaker
  27.  
  28. void LifeTaker(LPDIRECT3DDEVICE9 pDevice)
  29. {
  30. if((*(BYTE *)GameStatus == 1) && l17374k3r)
  31. {
  32. if(ValidPointer(g_LTClient))
  33. {
  34. CAutoMessage Msg;
  35. Msg.Writeuint8(50);
  36. Msg.Writeuint8(1);
  37. Msg.Writeuint8(1);
  38. Msg.Writeuint8(1);
  39. Msg.Writeuint8(1);
  40. Msg.Writeuint8(1);
  41. Msg.Writeuint8(27);
  42. Msg.Writeuint8(1);
  43. Msg.Writeuint8(1);
  44. g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);
  45. keybd_event(0x33,0,0,0);
  46. l17374k3r = 0;
  47.  
  48.  
  49.  
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement