Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. //Geld abheben atm1 Airfield-Terminal
  2. if (money_atm >= 100)
  3. then {money_hand = money_hand + 100; money_atm = money_atm - 100; hint "Du hast 100euro abgehoben";} else
  4. {hint "Du hast zu wenig Geld auf dem Konto!";};
  5. //Geld einzahlen atm1 Airfield-Terminal
  6. if (money_hand >= 100)
  7. then {money_atm = money_atm + 100; money_hand = money_hand - 100; hint "Du hast 100euro eingezahlt";} else
  8. {hint "Du hast zu wenig Geld dabei!";};
  9. money_hand = 0; //Geld auf Hand
  10. money_atm = 500; //Geld auf dem Konto
  11. onPlayerConnected "[_id, _name] execVM ""configuration.sqf""";
  12. sleep 0.02;
  13. 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;};
  14. if (money_hand >= 200) then {
  15. money_hand = money_hand - 200; _veh = "crater" createVehicle [14640.5,16764.6,0.00143814];
  16. hint "Du hast Boden kaputt gemacht......";
  17. } else {
  18. hint "Du hast nicht genuegend Geld dabei!";
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement