how i can stop this script if the same player call it again. i tryed whit if (_isrunning) exitWith {cutText [format["You already have a running bonus"], "PLAIN DOWN"];}; but dsnt work
private ["_playerPos","_nearbank","_costs","_reward","_msg","_isrunning"];
			call gear_ui_init;
			_playerPos = getPosATL player;
			_nearbank = count nearestObjects [_playerPos, ["CIV_EuroWoman01_EP1"], 3] > 0;
			_costs = 5000;
		
if (_isrunning) exitWith {cutText [format["You already have a running bonus"], "PLAIN DOWN"];};
			if (_nearbank) then {
			    if !([ player,_costs] call SC_fnc_removeCoins) then {
			        titleText [format["Needs %1 %2 to buy bonus.",_costs,CurrencyName] , "PLAIN DOWN", 1];
			    } else {
			    titleText [format["You pay %1  %2 %3",_costs,CurrencyName] , "PLAIN DOWN", 1];
		
_isrunning =     
			{    
			multiPlyWith = 1;
			_i=0;
		
			while {_i < 7} do
			{
			    if ( _i == 1) then
			    {
			        _reward = (10000 * multiPlyWith);
			        player setVariable ["cashMoney", ((player getVariable ["cashMoney", 0]) + _reward), true];
			        _msg = parseText format ["<t align='center' color='#FFFFFF' shadow='2' size='1.75'>Pay Check!</t><br/><t align='center' color='#17FF41'>------------------------------</t><br/><t align='center' color='#FFFFFF'>%1 Tnks for put your money whit us: </t><t align='center' color='#40FF00'>$%2</t>", name player, _reward];        
			        hint _msg;
			        multiPlyWith = multiPlyWith + 0;
			        _i = 0;
			    };
			    sleep 1200;
			    _i = _i + 1;
			};
};
			};
			};
		

 
 
 
 
