• 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!

helmet of the ancients

Nacke

New Member
Joined
Feb 13, 2008
Messages
79
Reaction score
0
items do not disappear, but it creates the helmet.thz


PHP:
local pos = {x=33198, y=32876, z=11}
function onStepIn(cid, item, position)
	if isPlayer(cid) == TRUE then
		local it = {}
		for i = 2335, 2341 do
			local _i = getTileItemById(pos, i).uid
			if _i > 0 then it[i] = _i else return end
		end
		for _, v in ipairs(it) do
			doRemoveItem(v)
		end
		doCreateItem(2342, 1, pos)
		doSendMagicEffect(pos, CONST_ME_FIREAREA)
	end
end


tfs 0.3.6 thz
 
Last edited:
Back
Top