Figaro
Banned User
Im requesting level tp, need 8 lvl to go that tp and that tp gives town id 2 to hometown at same time. Is that possible? ^^ If it is it would be nice.
Its really advanced script ^^ Nobody gives this for free ;p
function onStepIn(cid, item, position, fromPosition)
--- Config --
levelneeded = 8
place = {x=1000, y=1000, z=7}
if getPlayerLevel(cid) >= levelneeded then
doPlayerSetTown(cid, 2)
doTeleportThing(cid,place)
else
doPlayerSendTextMessage(getPlayer, 25, "You are not high enouph level!")
doTeleportThing(cid, fromPosition, TRUE)
end
return TRUE
end
local level_needed = 8
local place = {x = 1000, y = 1000, z = 7}
function onStepIn(cid, item, position, fromPosition)
if getPlayerLevel(cid) >= level_needed then
doPlayerSetTown(cid, 2)
doTeleportThing(cid, place)
else
doPlayerSendTextMessage(getPlayer, 25, "You are not high enough level!")
doTeleportThing(cid, fromPosition, true)
end
return true
end