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

Need Some Help With Stepin Again

Blackcody

RiseOfTibia Owner
Joined
Aug 31, 2008
Messages
136
Reaction score
1
Lua:
local pos1 = {x = 1653, y = 2511, z = 5, stackpos = 1}
local id = 8007

function onStepIn(cid, item, position, fromPosition)
	if getCreatureStorage(cid, 1037) ~= 1 then
	doCreatureSay(cid,You Have Not Activated The Wall Yet,TALKTYPE_ORANGE_1)
        return false
    else
	doCleanTile(pos1, false)
	end
	return true
end

This Is Not Working
 
Lua:
local pos1 = {x = 1653, y = 2511, z = 5, stackpos = 1}
local id = 8007
 
function onStepIn(cid, item, position, fromPosition)
	if getCreatureStorage(cid, 1037) ~= 1 then
		doCreatureSay(cid, 'You Have Not Activated The Wall Yet', TALKTYPE_ORANGE_1)
		return false
	else
		doCleanTile(pos1, false)
	end
	return true
end
 
Back
Top