i made a script for my inquisition quest... but nothing happens..
and.. where i put this lines?
Help... =)
Code:
function onDeath(cid, corpse, killer)
local creaturename = getCreatureName(cid)
local storage = 3217
local checkstorage = getPlayerStorageValue(killer,storage)
if creaturename == 'ungreez' then
if checkstorage == -1 then
setPlayerStorageValue(killer,3217,1)
doCreatureSay(killer, "Congratulations, you have killed the demon Ungreez", TALKTYPE_ORANGE_1)
else
doCreatureSay(killer, "You have already killed the demon Ungreez", TALKTYPE_ORANGE_1)
end
end
end
and.. where i put this lines?
Code:
<script>
<event name="DemonStorage"/>
</script>
Help... =)