//	@file Version: 1.0
//	@file Name: ADP_F_Kill.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Kills selected Unit

private ["_TargP"];
disableSerialization;
_playerlist = 1500;
TargetIdxK = lbValue [_playerlist, (lbCurSel _playerlist)];
for "_idx" from 0 to (lbSize _playerlist) do 
{
	if(lbValue[_playerlist, (lbCurSel _playerlist)] == TargetIdxK) then {
		_TargP = ADP_nameCache select TargetidxK;
		_found = true;
	};
};
hint format ["%1 killed", _TargP];
_TargP setDamage 1;

