Preciso do script
que deixe apenas pessoas com "x"
resets poderem entrar
Em Devido Teleport
Bom achei este script é similar ao "reset" mas tem outro nome, se facilitar pra me ajudar
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
local v,p = getThingPos(cid),{x=543,y=518,z=7}
if isPlayer(cid) then
if getCreatureStorage(cid, 85987) >= 10 then
if getPlayerLevel(cid) >= 0 then
doTeleportThing(cid,p)
doSendMagicEffect(p,31)
doCreatureSay(cid,"SUPER SPAWN!",19)
else
doTeleportThing(cid,fromPosition)
doSendMagicEffect(p,10)
doPlayerSendTextMessage(cid,27,'Only players of 10st rebirth and higher are allowed to pass.')
end
else
doTeleportThing(cid,fromPosition)
doSendMagicEffect(p,10)
doCreatureSay(cid,"You Need 10 Rebirth To enter!",19)
doPlayerSendTextMessage(cid,27,'Only players of 10st rebirth higher are allowed to pass.')
end
end
return true
end
....
...