Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Geld abheben atm1 Airfield-Terminal
- if (money_atm >= 100)
- then {money_hand = money_hand + 100; money_atm = money_atm - 100; hint "Du hast 100euro abgehoben";} else
- {hint "Du hast zu wenig Geld auf dem Konto!";};
- //Geld einzahlen atm1 Airfield-Terminal
- if (money_hand >= 100)
- then {money_atm = money_atm + 100; money_hand = money_hand - 100; hint "Du hast 100euro eingezahlt";} else
- {hint "Du hast zu wenig Geld dabei!";};
- money_hand = 0; //Geld auf Hand
- money_atm = 500; //Geld auf dem Konto
- onPlayerConnected "[_id, _name] execVM ""configuration.sqf""";
- sleep 0.02;
- onEachFrame {[format["<t color='#000000' size = '.8'> Bargeld: %1 euro Kontostand: %2 euro </t>",money_hand,money_atm],0.9,1.35,2,0,0,789] spawn BIS_fnc_dynamicText;};
- if (money_hand >= 200) then {
- money_hand = money_hand - 200; _veh = "crater" createVehicle [14640.5,16764.6,0.00143814];
- hint "Du hast Boden kaputt gemacht......";
- } else {
- hint "Du hast nicht genuegend Geld dabei!";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement