david1337hax

GTAV PC Money Stealth

Jul 22nd, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. void MoneyEdit(int towallet, int tobank) {
  2. int iVar2 = INT_MAX;
  3.  
  4. if (globalHandle(2599118).As<int>() == -1) {
  5. globalHandle(2599118) = NETWORKCASH::NETWORK_GET_VC_BANK_BALANCE();
  6. }
  7. if (globalHandle(2599119).As<int>() == -1) {
  8. globalHandle(2599119) = NETWORKCASH::NETWORK_GET_VC_WALLET_BALANCE(-1);
  9. }
  10. towallet = 0;
  11. tobank = 0;
  12. if (globalHandle(2599118).Get<int>() > 0) {
  13. if (globalHandle(2599118).Get<int>() >= &iVar2) {
  14. tobank = iVar2;
  15. }
  16. else {
  17. tobank = iVar2 - (iVar2 - globalHandle(2599118).As<int>());
  18. }
  19. iVar2 -= tobank;
  20. }
  21. if (iVar2 > 0) {
  22. if (globalHandle(2599119).Get<int>() > 0) {
  23. if (globalHandle(2599119).Get<int>() >= &iVar2) {
  24. towallet = iVar2;
  25. }
  26. else {
  27. towallet = iVar2 - (iVar2 - globalHandle(2599119).As<int>());
  28. }
  29. iVar2 -= towallet;
  30. }
  31. }
  32. invoke<Void>(536737010038877744, towallet, tobank);
  33. globalHandle(2599118) = towallet;
  34. globalHandle(2599119) = tobank;
  35. }
Add Comment
Please, Sign In to add comment