Witam, potrzebuj? skryptu na item kt?ry po u?yciu daje 400 expa i znika, lecz mo?na go zdoby? i u?yc kolejny raz itd. czyli mo?na u?y? wielokrotnie. Item ma mie? id 6569 (candy), lub 6544 (green coloured egg) :hah:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 6569 then
doPlayerAddExp(cid, 400)
doSendAnimatedText(getPlayerPosition(cid),"400", TEXTCOLOR_WHITE)
doPlayerRemoveItem(cid, 6569, 1)
end
return TRUE
end
Dzi?kuje za szybk? odpowiedz, w actions.xml przed candy doda?em other/ i dzia?a jak nale?y, cho? w silniku przy ?adowaniu pokazuje duplicate item. Reput dla Ciebie i temat do zamkni?cia
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.