Pra cada novo tile, adicione outra tag com action id diferente e acrescente uma linha na tabela tiles (em vermelho) no script.
function onStepIn(cid, item, position, fromPosition)
local tiles = { -- Action id / Storage, Valor
[6320] = {storage = 7654, valor = 1},
[6321] = {storage = 7654, valor = 2},
}
local t = tiles[item.actionid]
if getPlayerStorageValue(cid, t.storage) < t.valor then
doTeleportThing(cid, fromPosition)
doPlayerPopupFYI(cid, "You can't pass.") return true
end
return true
end





info
Grupo: Campones
Registrado: 13/01/14
Posts: 68
Reputação: +1
preciso que só possa passar title com storage 123123 obg