Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
local buybless = TalkAction("/bless")
function buybless.onSay(player, words, param)
if player:hasBlessing(1) then
player:sendTextMessage(MESSAGE_INFO_DESCR, "You are already blessed.")
player:getPosition():sendMagicEffect(CONST_ME_POFF)
else
local...
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid)
npcHandler:onCreatureAppear(cid)
end
function onCreatureDisappear(cid)
npcHandler:onCreatureDisappear(cid)
end
function...
function onUse(player, item, fromPosition, itemEx, toPosition)
storei = player:addItem(31208, 1)
if storei then
storei:setStoreItem(true)
end
return true
end
I use this to use in a lever to see if works and not works, send the sword on my backpack
Now it does not give me an error in the console, and when I ask for the addon it does not tell me that I do not have the necessary items, it just does not tell me anything and there is no error in the console
After 'second demon outfit addon' the console show me this error
Lua Script Error: [Npc interface]
data/npc/scripts/addons.lua:onCreatureSay
data/npc/scripts/addons.lua:264: attempt to compare number with nil
stack traceback:
[C]: in function '__lt'...