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!
New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
function onUse(cid, item, fromPosition, itemEx, toPosition)
local p = {}
if getPlayerGroupId(cid) > 2 then
if getPlayerStorageValue(cid, 2172) == -1 then
p.message = {"You have found a Bronze Amulet.", MESSAGE_INFO_DESCR}
p.item = {[2172] = {1}}
else
p.message = {"It is empty.", MESSAGE_INFO_DESCR}
end
else
doPlayerSendCancel(cid, "You are not a staff member.")
end
Quest:new(cid, 2172, p)
return TRUE
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local p = {}
if getPlayerGroupId(cid) > 2 then
if getPlayerStorageValue(cid, 2172) == -1 then
p.message = {"You have found a Bronze Amulet.", MESSAGE_INFO_DESCR}
p.item = {[2172] = {1}}
else
p.message = {"It is empty.", MESSAGE_INFO_DESCR}
end
else
doPlayerSendCancel(cid, "You are not a staff member.")
end
Quest:new(cid, 2172, p)
return TRUE
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local p = {}
if getPlayerGroupId(cid) > 2 then
p.message = {"You have found a Bronze Amulet.", MESSAGE_INFO_DESCR}
p.item = {[2172] = {1}}
else
p.message = {"You are not a staff member.", MESSAGE_INFO_DESCR}
end
Quest:new(cid, 2172, p)
return TRUE
end
[08/03/2010 21:05:24] data/lib/function.lua:877: attempt to perform arithmetic on local 'item' (a table value)
[08/03/2010 21:05:24] stack traceback:
[08/03/2010 21:05:24] data/lib/function.lua:877: in function 'capItems'
[08/03/2010 21:05:24] data/lib/function.lua:903: in function 'addItems'
[08/03/2010 21:05:24] data/lib/function.lua:738: in function 'start'
[08/03/2010 21:05:24] data/lib/function.lua:645: in function 'new'
[08/03/2010 21:05:24] data/actions/scripts/behemot.lua:6: in function <data/actions/scripts/behemot.lua:1>