Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void MoneyEdit(int towallet, int tobank) {
- int iVar2 = INT_MAX;
- if (globalHandle(2599118).As<int>() == -1) {
- globalHandle(2599118) = NETWORKCASH::NETWORK_GET_VC_BANK_BALANCE();
- }
- if (globalHandle(2599119).As<int>() == -1) {
- globalHandle(2599119) = NETWORKCASH::NETWORK_GET_VC_WALLET_BALANCE(-1);
- }
- towallet = 0;
- tobank = 0;
- if (globalHandle(2599118).Get<int>() > 0) {
- if (globalHandle(2599118).Get<int>() >= &iVar2) {
- tobank = iVar2;
- }
- else {
- tobank = iVar2 - (iVar2 - globalHandle(2599118).As<int>());
- }
- iVar2 -= tobank;
- }
- if (iVar2 > 0) {
- if (globalHandle(2599119).Get<int>() > 0) {
- if (globalHandle(2599119).Get<int>() >= &iVar2) {
- towallet = iVar2;
- }
- else {
- towallet = iVar2 - (iVar2 - globalHandle(2599119).As<int>());
- }
- iVar2 -= towallet;
- }
- }
- invoke<Void>(536737010038877744, towallet, tobank);
- globalHandle(2599118) = towallet;
- globalHandle(2599119) = tobank;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement