Tormented Being
Member
im using 0.4,
after i take all of a monsters hp he doesn't die just stands there with no health bar, also i need the +1 to be +dano or the variable tried many diffrent things couldn't get it to work.
could someone help me with this?
after i take all of a monsters hp he doesn't die just stands there with no health bar, also i need the +1 to be +dano or the variable tried many diffrent things couldn't get it to work.
could someone help me with this?
Lua:
function onKill(cid, target, damage, flags)
if isMonster(target) then
dano = damage
doPlayerSay(cid, ""..dano.."", TALKTYPE_SAY)
doCreatureSetStorage(cid, 123, math.max(0, getCreatureStorage(cid, 123)) + 1)
end
return true
end