help in this plzz
how to add in this bp like 100 ham 100 meat 100 mushroom
when this itm is created
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerVocation(cid) <= 4 then
doPlayerAddItem(cid,2365,1)
end
end
when this itm is created