How add in my script:
that for item.actionid 6711, lord = Ashfalor, storage = 11061, newpos = {x=position.x, y=position.y-3, z=position.z} and
for item.actionid 6712, lord = Bazir, storage = 11062, newpos = {x=position.x, y=position.y-2, z=position.z} and
for item.actionid 6713, lord = Pumin, storage = 11063, newpos = {x=position.x, y=position.y-3, z=position.z}?:blink:
Code:
function onStepIn(cid, item, position)
if (isPlayer(cid) == true) then
setPlayerStorageValue(cid,storage,1)
doCreatureSay(cid, 'You have touched '..lord..'\'s throne and absorbed some of his sprit.',TALKTYPE_ORANGE_1)
end
return true
end
function onStepOut(cid, item, position)
if (isPlayer(cid) == true) then
doTeleportThing(cid, newpos)
doSendMagicEffect(newpos, 17)
doCreatureSay(cid, 'Begone!',TALKTYPE_ORANGE_1)
end
return true
end
that for item.actionid 6711, lord = Ashfalor, storage = 11061, newpos = {x=position.x, y=position.y-3, z=position.z} and
for item.actionid 6712, lord = Bazir, storage = 11062, newpos = {x=position.x, y=position.y-2, z=position.z} and
for item.actionid 6713, lord = Pumin, storage = 11063, newpos = {x=position.x, y=position.y-3, z=position.z}?:blink: