This commit is contained in:
Marvin Blum
2015-10-25 18:34:45 +01:00
parent 2788ea1397
commit bf283cb87a
12 changed files with 22 additions and 84 deletions

View File

@@ -1,15 +0,0 @@
if (!isServer&&player!=player) then {
waitUntil {player==player};
};
_getunit = (_this select 0);
_file = (_this select 1);
if (!(isNil _getunit)) then {
_unit = objNull;
call (compile (format ["_unit = %1", _getunit]));
if ((local _unit)) then {
try {
_unit execVM _file;
} catch {
};
};
};

View File

@@ -1,7 +1,5 @@
waitUntil {x=x+1;x<100};
if (timeIsOver) then {
if (true) exitWith {
array = [1,2,3];
x = (array select 0);
if ((array select 1)==2) then {
[] call foo;
[] call bar;
};
};

View File

View File

@@ -1,8 +0,0 @@
x = 1;
y = 3;
foo = {
x = _this select 0;
y = _this select 1;
return x+y;
};
hint (format ["%1", ([x, y] call foo)]);