Jestem poczatkujacym skrypterem napisalem skrypt ktory ma dawac mace jak da sie use lever ale cos jest nie tak bardzo prosze o pomoc skrypt dalem do actions
a tu wpis do actions.xml
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 9825 then
doPlayerAddItem(uid,2380,1)
else
return 0
end
return 1
end
Code:
<action itemid="9825" event="script" value="other/additem.lua"/>