Mude o valor de um storage quando o jogador passar e depois algo assim:
local cid_ip = getPlayerIP(cid)
for _, pid in ipairs(getPlayersOnline()) do
if getPlayerStorageValue(pid, QUALQUER_STORAGE) == 1 then
if getPlayerIp(pid) == cid_ip then
doTeleportThing(cid, fromPos)
doPlayerSendTextMessage(cid, 27, "You may not pass.")
return true
end
end
end
doPlayerSendTextMessage(cid, 27, "You have entered the event.")




info
Grupo: Conde
Registrado: 18/07/08
Posts: 545
Reputação: +21
Char no Tibia: Nem eu sei
É um evento, stepIN, quando pisar vai pra posiçao X Y Z, e ao pisar o script teria que checar o IP do jogador, caso um outro jogador tenta o mesmo IP, ele nao poderia entrar no evento.