Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
_item = "ItemTent"; //Example
_itemName = getText (configFile >> "CfgMagazines" >> _item >> "displayName");
_result = [player,_item] call BIS_fnc_invAdd;
if (_result) then {
cutText [format["You now have a %1!", _itemName], "PLAIN DOWN"];
}else{
cutText [format["I cannot give you %1, not enough room in your pockets sir!", _itemName], "PLAIN DOWN"];
}
Code:_item = "ItemTent"; //Example _itemName = getText (configFile >> "CfgMagazines" >> _item >> "displayName"); _result = [player,_item] call BIS_fnc_invAdd; if (_result) then { cutText [format["You now have a %1!", _itemName], "PLAIN DOWN"]; }else{ cutText [format["I cannot give you %1, not enough room in your pockets sir!", _itemName], "PLAIN DOWN"]; }