Ir para conteúdo

Featured Replies

Postado

 

data/movements/scripts:

 
local message = "mensagem"              --Mensagem que aparecerá ao pisar no tile.
function onStepIn(cid, item, position, fromPosition)
    if not isPlayer(cid) then
        return true
    end
    doPlayerPopupFYI(cid, message)
    return true
end

xml.

<movevent type="StepIn" actionid="5731" event="script" value="nome_do_arquivo.lua"/>

não esqueça de alterar actionID no rme.

 

É pra TFS 1.0, não leu?

local message = [[

Coloque a mensagem entre os colchetes 

]]

function onStepIn(player, item, position, lastPosition, fromPosition, toPosition, actor)
    player = Player(player)
    if player:isPlayer() then
        player:popupFYI(message)
    end
    return true
end
<movevent event="StepIn" actionid="ID DE SUA ACTION" script="NOME DO ARQUIVO.lua"/>


OU


<movevent event="StepIn" uniqueid="ID DE SEU UNIQUE" script="NOME DO ARQUIVO.lua"/>
                              _
                          .-'` `}
                  _./)   /       }
                .'o   \ |       }
                '.___.'`.\    {`
                /`\_/  , `.    }                                      ME DA UMA NOZ!
                \=' .-'   _`\  {
                 `'`;/      `,  }
                    _\   @   ;  }
                   /__`;-...'--'

Cluck!

  • Respostas 8
  • Visualizações 494
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

Postado

 

É pra TFS 1.0, não leu?

local message = [[

Coloque a mensagem entre os colchetes 

]]

function onStepIn(player, item, position, lastPosition, fromPosition, toPosition, actor)
    player = Player(player)
    if player:isPlayer() then
        player:popupFYI(message)
    end
    return true
end
<movevent event="StepIn" actionid="ID DE SUA ACTION" script="NOME DO ARQUIVO.lua"/>


OU


<movevent event="StepIn" uniqueid="ID DE SEU UNIQUE" script="NOME DO ARQUIVO.lua"/>

não lí, perdão :)

Postado
                              _
                          .-'` `}
                  _./)   /       }
                .'o   \ |       }
                '.___.'`.\    {`
                /`\_/  , `.    }                                      ME DA UMA NOZ!
                \=' .-'   _`\  {
                 `'`;/      `,  }
                    _\   @   ;  }
                   /__`;-...'--'

Cluck!

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo