Enigma_Exile_Revive/Exile.Altis/Custom/EnigmaRevive/compiles.sqf

28 lines
487 B
Plaintext
Raw Normal View History

2016-01-14 04:01:21 +00:00
/*
Enigma Exile Revive Compiles
2016-01-17 08:06:26 +00:00
[_ZEN_] Happydayz
© 2016 Enigma Team
2016-01-14 04:01:21 +00:00
*/
if (!hasInterface && isServer) exitWith {
Diag_log "Initializing Enigma Revive Compiles!";
};
private ['_code', '_function', '_file'];
{
_code = '';
_function = _x select 0;
_file = _x select 1;
_code = compileFinal (preprocessFileLineNumbers _file);
missionNamespace setVariable [_function, _code];
}
forEach
[
['Enigma_RevivePlyr', 'Custom\EnigmaRevive\Enigma_RevivePlyr.sqf']
];
true