jareczekjsp
Member
Hello guys I use tfs 0.4 tibia 8.6 and I have this script
and I would like do When Player go to exp Have a time and after this time Teleport him to temple 160,54,7 how I can do it?
Any One ?help me please
Up
Lua:
local teleportPosition = {x=32351, y=31994, z=7}
local magicCoinId = 6527
local amountRequired = 100
function onUse(cid, item, fromPosition, itemEx, toPosition)
if not doPlayerRemoveItem(cid, magicCoinId, amountRequired) then
doPlayerSendCancel(cid, "You need 100 Event Coins To Go IN!")
return true
end
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
doTeleportThing(cid, teleportPosition)
doSendMagicEffect(teleportPosition, CONST_ME_TELEPORT)
return true
end
and I would like do When Player go to exp Have a time and after this time Teleport him to temple 160,54,7 how I can do it?
Post automatically merged:
Any One ?help me please
Post automatically merged:
Up
Last edited: