Miziak
Reaction score
27

Profile posts Latest activity Postings About

  • Mam jeszcze jedno pytanko umiesz zrobic Questa od LVL 50 na itemek pod 8.4 ;)
    ello ello mam problem naprawisz...



    function onUse(cid, item, frompos, item2, topos)
    local lvl = getPlayerLevel(cid)
    local addhealth = math.random(8, lvl) * 30 + 185 - 8*30 -- ta funkcja zapewnia losowosc dodanego hp
    doSendAnimatedText(frompos,''.. addhealth ..'',5)
    doPlayerSendCancel(cid,"Doladowales ''.. addhealth ..'' HP.")
    doSendMagicEffect(frompos,12)
    doPlayerAddHealth(cid, addhealth)
    if item.type > 1 then
    doChangeTypeItem(item.uid,item.type-1)
    else
    doRemoveItem(item.uid,1)
    end
    return 1
    end




    [28/02/2004 16:18:19] data/actions/scripts/frost heart.lua:6: attempt to call global 'doPlayerAddHealth' (a nil value)
    [28/02/2004 16:18:19] stack traceback:
    [28/02/2004 16:18:19] data/actions/scripts/frost heart.lua:6: in function <data/actions/scripts/frost heart.lua:1>
  • Loading…
  • Loading…
  • Loading…
Top