Move unused functions to another folder

This commit is contained in:
AirwavesMan
2020-06-10 17:03:31 +02:00
parent 11f10829cb
commit ac79d91ca0
37 changed files with 185 additions and 250 deletions

View File

@@ -0,0 +1,21 @@
// Server only
if (isDedicated) then {
achievementNewDB = true; // true = object_data table (1.8.x), false = instance_deployable table (1.7.x)
call compile preprocessFileLineNumbers "\z\addons\dayz_code\old\achievements\achievementsServer.sqf";
"achievement" addPublicVariableEventHandler {[_this select 1] call achievementServer};
};
// Client only
if (!isDedicated) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_code\old\achievements\achievements.sqf";
// Allow server events to trigger the OSD
"achievementClientPV" addPublicVariableEventHandler {[_this select 1] call achievementClientMsg};
// Start the mustyMonitor
[] execVM "\z\addons\dayz_code\old\achievements\achievementsMonitor.sqf";
};