Einzelnen Beitrag anzeigen
Alt 20.05.2012, 03:39   #18 (permalink)
Ghost_Aut
50 Beiträge100 Beiträge
 
Registriert seit: 29.07.2008
Ort: Wien
Alter: 48
Beiträge: 189
Ghost_Aut eine Nachricht über MSN schicken
Standard

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 {};
__________________
Ghost_AUT
Ghost_Aut ist offline