Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////////////////////////////////////////////////////////////////
- // Anti Cheat Quick
- /////////////////////////////////////////////////////////////////
- //global variable check
- if (!isNil "loki_LostKey") then {
- [player] spawn {
- _name = name player;
- systemchat format ["%1 is using unauthorized addons",_name];
- player enablesimulation false;
- _CheatMessage = "You must remove unauthorized addons/Cheats before you can play on the server. Please disable these addons and relaunch.";
- cutText [_CheatMessage,"BLACK FADED",1];
- sleep 5;
- failMission "LOSER";
- };
- };
- //cfg patches check
- if (isClass(configFile >> "CfgPatches" >> "Loki_Lost_Key")) then {
- [player] spawn {
- _name = name player;
- systemchat format ["%1 is using unauthorized addons",_name];
- player enablesimulation false;
- _CheatMessage = "You must remove unauthorized addons/Cheats before you can play on the server. Please disable these addons and relaunch.";
- cutText [_CheatMessage,"BLACK FADED",1];
- sleep 5;
- failMission "LOSER";
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement