Epoch/Sources/epoch_code/compile/EPOCH_PutHandler.sqf

10 lines
343 B
Plaintext
Raw Normal View History

2015-09-14 20:55:36 +00:00
private ["_femaleVariant","_vest","_class","_config","_woman","_maleVariant"];
_class = _this select 2;
//Radio Check
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _class)) == "ItemRadio") then {
if !(_class in(assignedItems player)) then {
//diag_log "UnEQUPPED RADIO";
EPOCH_equippedItem_PVS = [_class,false,player];
};
};