Advertisement
dcomicboy

setup

Apr 4th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. void cBase::credit(int Status, LPDIRECT3DDEVICE9 pDevice)
  2. {
  3. if(Status > 0)
  4. {
  5. if(GetAsyncKeyState(VK_HOME)&1)
  6. {
  7. CurrentAction = Status;
  8. if(g_LTClient->IsConnected())
  9. {
  10. g_LTClient = *(CLTClient**)ADDR_LTCLIENT;
  11. g_CommonLT = g_LTClient->Common();
  12.  
  13. CAutoMessage cMsg;
  14. cMsg.Writeuint8( Status );
  15. cMsg.Writeuint8(kPEDropWeapon);
  16. g_LTClient->SendToServer( cMsg.Read(), MESSAGE_GUARANTEED );
  17. keybd_event(0x33,0,0,0);
  18. //Status = 0;
  19. }
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement