Hi people, look at this script
as you can see, when a player step on the title, he get teleported to the POI hall, and a stone is created in that position bloking the way to that title...;
I need a script that when a stone is created, players on that pos get teleported to somewhere, is it possible?
Code:
function onStepIn(cid, item, frompos, item2, topos)
playerpos = {x=32826,y=32272,z=12,stackpos=1}
if item.actionid == 10242 then
doSendMagicEffect(playerpos,CONST_ME_TELEPORT)
doTeleportThing(cid,playerpos)
doCreateItem(1205,stonepos)
end
end
as you can see, when a player step on the title, he get teleported to the POI hall, and a stone is created in that position bloking the way to that title...;
I need a script that when a stone is created, players on that pos get teleported to somewhere, is it possible?