local message = { [1] = { actionId = 56001, text = "Set saga nivel 1.\nO set pode ser conquistado em quest.\nLocal: Proximo a saida sul de Konohra.\nRequer: Level 10.", storage = 556655001 }, [2] = { actionId = 56002, text = "Set saga nivel 2.\nO set pode ser conquistado em quest.\nLocal: Proximo a saida norte de Konohra.\nRequer: Level 15.", storage = 556655002 }, } function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return false end for i = 1, #message, 1 do if item.actionid == message[i].actionId then if getPlayerStorageValue(cid, message[i].storage) <= 0 then doPlayerPopupFYI(cid, message[i].text) setPlayerStorageValue(cid, message[i].storage, 1) end end end end
Para funcionar tu precisa colocar um actionid pelo mapa diretamente no tile(sqm) que deseja.
Por exemplo o actionid: 56001



info
Grupo: Campones
Registrado: 11/12/17
Posts: 24
Reputação: +1
Gênero: Masculino
Alguém me ajuda a colocar uma stored aqui, para o player so ver essa msg 1x quando passar no piso?