Hallo zusammen,
ich habe das Problem das Arma mir vorwirft meine Variable _rdmmoney nicht definiert zu haben, wie ihr jedoch sehen könnt ist sie definiert?
Ich bin ein wenig überfordert, ich hoffe mir kann jemand helfen.
Code
- _object = _this select 0;
- _object removeAction 0;
- private _rdmmoney = random [500, 1200, 1750];
- //Start ProgressBar
- [] spawn {
- for "_ia" from 1 to 10 do { 2 cutText ["Breaking ATM","PLAIN"]; sleep 1; }; 2 cutText [(format["You have found %1$!",_rdmmoney]),"PLAIN"]; sleep 1; 2 cutText ["","PLAIN"];
- };
- sleep 1;
- money = money + _rdmmoney;
LG. Philipp