I really cant get this to work, please help out, i think my main problem is at :
Lua:
if creature == "adel the skinny ass" then
elseif demonkilled == -1 then
Lua:
function onKill(cid, target)
local demonstorage = 40001
local demonkilled = getPlayerStorageValue(cid,demonstorage)
local creature = getCreatureName(target)
if creature == "adel the skinny ass" then
elseif demonkilled == -1 then
doCreatureSetStorage(cid, demonstorage, 1)
end
if demonstorage == 1 then
doCreatureSay(cid, "You have been Enforced with skeletal powers", TALKTYPE_ORANGE_1)
end
end