mirror of
https://github.com/hpy/Enigma_Exile_Revive.git
synced 2024-08-30 16:52:15 +00:00
27 lines
476 B
Plaintext
27 lines
476 B
Plaintext
|
/*
|
||
|
Enigma Exile Revive Compiles
|
||
|
[_ZEN_] Enigma (Happydayz)
|
||
|
*/
|
||
|
|
||
|
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
|
||
|
|
||
|
|