Epoch/Sources/epoch_code/compile/EPOCH_PutHandler.sqf

22 lines
637 B
Plaintext
Raw Normal View History

2015-12-07 16:24:52 +00:00
/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Tells server when a radio is equpped for use with custom radio channels
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
2016-06-13 16:54:19 +00:00
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_PutHandler.sqf
2015-12-07 16:24:52 +00:00
*/
2017-05-02 13:28:52 +00:00
private _class = param [2];
2015-09-14 20:55:36 +00:00
//Radio Check
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _class)) == "ItemRadio") then {
if !(_class in(assignedItems player)) then {
EPOCH_equippedItem_PVS = [_class,false,player];
};
2015-12-07 16:24:52 +00:00
};