Changed indentation

This commit is contained in:
Wyqer 2019-12-05 18:32:56 +01:00
parent 176d8f1447
commit 252c3cb38a
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 28 additions and 28 deletions

View File

@ -10,38 +10,38 @@ sleep 1;
_commanderobj = [] call KPLIB_fnc_getCommander;
if ( !isNull _commanderobj ) then {
if ( player == _commanderobj && !(serverCommandAvailable "#kick")) then {
if ( player == _commanderobj && !(serverCommandAvailable "#kick")) then {
_tagmatch = false;
_idmatch = false;
_namematch = false;
_tagmatch = false;
_idmatch = false;
_namematch = false;
if ( !isNil "GRLIB_whitelisted_tags" ) then {
if ( count (squadParams _commanderobj) != 0 ) then {
if ( ((squadParams _commanderobj select 0) select 0) in GRLIB_whitelisted_tags ) then {
_tagmatch = true;
};
};
};
if ( !isNil "GRLIB_whitelisted_tags" ) then {
if ( count (squadParams _commanderobj) != 0 ) then {
if ( ((squadParams _commanderobj select 0) select 0) in GRLIB_whitelisted_tags ) then {
_tagmatch = true;
};
};
};
if ( !isNil "GRLIB_whitelisted_steamids" ) then {
if ( ( getPlayerUID _commanderobj ) in GRLIB_whitelisted_steamids ) then {
_idmatch = true;
};
};
if ( !isNil "GRLIB_whitelisted_steamids" ) then {
if ( ( getPlayerUID _commanderobj ) in GRLIB_whitelisted_steamids ) then {
_idmatch = true;
};
};
if ( !isNil "GRLIB_whitelisted_names" ) then {
if ( ( name _commanderobj ) in GRLIB_whitelisted_names ) then {
_namematch = true;
};
};
if ( !isNil "GRLIB_whitelisted_names" ) then {
if ( ( name _commanderobj ) in GRLIB_whitelisted_names ) then {
_namematch = true;
};
};
if ( !( _tagmatch || _idmatch || _namematch ) ) then {
if ( !( _tagmatch || _idmatch || _namematch ) ) then {
sleep 1;
if ( alive _commanderobj ) then {
endMission "END1";
};
};
};
sleep 1;
if ( alive _commanderobj ) then {
endMission "END1";
};
};
};
};