mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 12:00:25 +00:00
16 lines
292 B
Plaintext
16 lines
292 B
Plaintext
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 {
|
|
};
|
|
};
|
|
};
|