Also in Großen und ganzen meine ich es so!
Code:
private ["_zahl"];
_zahl = 0;
while {_zahl <= 24} do {
_zahl=_zahl + 1;
hint format ["Zahl: %1", _zahl];
sleep 1;
};
if (_zahl >= 25) exitWith {hint "script code};
oder
Code:
private ["_zahl"];
_zahl = 0;
while {_zahl <= 24} do {
_zahl=_zahl + 1;
hint format ["Zahl: %1", _zahl];
sleep 1;
};
if (_zahl >= 25) then {hint "scripr code};
if (true) exitWith {};