-
-
Save marcelotk15/e2d07f46fad7c4c6b33792e9363ec9b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userMods = configSourceModList (configFile >> "CfgPatches"); | |
serverMods = ["@CUP Terrains - Core","@CUP Units","@CUP Vehicles","@CUP Weapons","@TRYK(ver 0.95 fix) [TRYK's Multi-play Uniforms]","@Exile","curator","expansion","@NATO_Rus_Weapons","@Chernarus_Winter_A3_v1.11","@CSAT Snow Tigers 1.06","kart","heli","mark","@USMC_mas","@CBA_A3","@NIArsenal"]; | |
if (count userMods isEqualTo count serverMods) then { | |
userMods sort true; | |
serverMods sort true; | |
if (userMods isEqualTo serverMods) then { | |
checkExtraMods = "<t color='#2fd402' size='0.9' shadow='1' shadowColor='#000000' align='center'>ALL FINE!</t><br/>"; | |
} else { | |
checkExtraMods = "<t color='#ff0000' size='0.9' shadow='1' shadowColor='#000000' align='center'>YOU ARE USSING SOME WRONG MOD!</t><br/>"; | |
errorLevel = errorLevel + 99 | |
} | |
} else { | |
checkExtraMods = "<t color='#ff0000' size='0.9' shadow='1' shadowColor='#000000' align='center'>CHECK YOUR MODS, YOU HAVE MORE OR LESS THAN YOU NEED!</t><br/>"; | |
errorLevel = errorLevel + 99 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment