andypsylon
be be
update - ver. 1.4
- new feature, throw out players after xx minutes
- small fixes
- new feature, throw out players after xx minutes
- small fixes
-- ver. 1.2
-- author tfs, otland.net/members/andypsylon
local c = {
[22222] = "Congratulations!" -- Annihilator
}
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(not isPlayer(cid)) then return true end
local i = item.actionid
if c and (not isItemDoor(item.itemid)) then
if(getCreatureStorage(cid, i)) == 1 then
doCreatureSetStorage(cid, i, -1)
doCreatureSay(cid, c, TALKTYPE_MONSTER_SAY)
end
end
return true
end
[Error - Action Interface]
data/actions/scripts/quests/annihilator_neu.lua
Description:
data/actions/scripts/quests/annihilator_neu.lua:145: attempt to index global 'npcHandler' (a nil value)