dunnish
New Member
- Joined
- Jun 18, 2009
- Messages
- 268
- Solutions
- 1
- Reaction score
- 2
Hello!
im not sure why this it not working
can somone help me?
im not sure why this it not working
can somone help me?
Lua:
local gatepos =
{ {x = 1005, y = 1006, z = 7},
{x = 1006, y = 1006, z = 7},
{x = 1007, y = 1006, z = 7},
{x = 1008, y = 1006, z = 7}}
function storm()
local getTile = getThingfromPos(gatepos)
if getTile.itemid == 724 then
doTransformItem(getTile.uid, 407)
end
doBroadcastMessage("storm is comeing Be aware of the safe zone")
return true
end
function onThink(interval, lastExecution, thinkInterval)
addEvent(storm, 6000)
return true
end