Initial baseline - KP Liberation v0.96.7a Ruha variant

This commit is contained in:
2026-06-11 01:08:09 +02:00
commit 6f5e757e92
478 changed files with 64458 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
scriptName "[KPLIB] Enforce Whitelist";
[] call compileFinal preprocessFileLineNumbers "whitelist.sqf";
if (!GRLIB_use_whitelist) exitWith {};
waitUntil {alive player};
sleep 1;
if (player isEqualTo ([] call KPLIB_fnc_getCommander) && !(serverCommandAvailable "#kick")) then {
private _match = false;
[] call {
if ((getPlayerUID player) in GRLIB_whitelisted_steamids) exitWith {_match = true;};
if ((name player) in GRLIB_whitelisted_names) exitWith {_match = true;};
if (!((squadParams player) isEqualTo []) && {(((squadParams player) select 0) select 0) in GRLIB_whitelisted_tags}) exitWith {_match = true;};
};
if (!_match) then {
sleep 1;
endMission "END1";
};
};