You mean something like this?
function EquipWeaponBow(entity)
local id = entity.inventory:FindItem("03589a69-d3f4-403a-a389-ca021e7c8f40");
if (id == nil) then
id = ItemManager.CreateItem("03589a69-d3f4-403a-a389-ca021e7c8f40",1,1);
id = entity.inventory:AddItem(id);
end
entity.actor:EquipInventoryItem(id);
local id = entity.inventory:FindItem("ad6f0f01-aec4-44d1-982c-1210eb01b74a");
if (id == nil) then
id = ItemManager.CreateItem("ad6f0f01-aec4-44d1-982c-1210eb01b74a",1,50);
id = entity.inventory:AddItem(id);
end