Hello Scripters )
I have problem with that script -.-
Player death and i have warning in console
Ofcourse its not full script
I have problem with that script -.-
Code:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
local arena = getPlayerStorageValue(cid, 2001)
if (arena > 0) then
doPlayerAddHealth(cid, getCreatureMaxHealth(cid), TRUE)
doPlayerAddMana(cid, (getPlayerMaxMana(cid) - getPlayerMana(cid)))
doPlayerAddHealth(killer, getCreatureMaxHealth(killer), TRUE)
doPlayerAddMana(killer, (getPlayerMaxMana(killer) - getPlayerMana(killer)))
Player death and i have warning in console
Ofcourse its not full script