Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- *AUTHOR: J3R3MY BY ZOCKERBUDEN COMMUNITY
- *DESCRIPTION: TRANSFER THE MONEY OVER THIS FUNCTION
- */
- private["_amount","_isBank","_AddorSUB"];
- _amount _this select 0;
- _isBank _this select 1;
- _AddorSUB _this select 2;
- if(isNil "_amount")exitWith{};
- if(isNil "_isBank")exitWith{};
- if(isNil "_AddorSUB")exitWith{};
- if(_amount <= 0)exitWith{};
- READYTOTRANSFER = true;
- if(_isBank)then{
- if(_AddorSUB)then{
- life_atmbank = life_atmbank + _amount;
- }else{
- life_atmbank = life_atmbank - _amount;
- };
- }else{
- if(_AddorSUB)then{
- life_cash = life_cash + _amount;
- }else{
- life_cash = life_cash - _amount;
- };
- };
- READYTOTRANSFER = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement