Jump to content
Sign in to follow this  
mustorze

Quer Fazer Os Players Ver As Noticias?

Recommended Posts

mustorze    0
mustorze

O Msg Login nao abre so um testinho inutio ?

 

Entao ele vai abrir em janela agora biggrin.gif!

 

Em Protocol80.ccp

troque:

            std::string tempstring = g_config.getString(ConfigManager::LOGIN_MSG);
            if(tempstring.size() > 0){
                AddTextMessage(msg, MSG_STATUS_DEFAULT, tempstring.c_str());
            }

 

por:

 

            std::string huha = g_config.getString(ConfigManager::LOGIN_MSG);
            if(huha.size() > 0){
                sendTextWindow(4990, huha.c_str());
            }

 

Somente Eu sei q é tosco biggrin.gif!

Share this post


Link to post
Guiminhah    0
Guiminhah

Boa Mustorze! Aqui deu certo! =P Código funcionando e aprovado (mesmo que seja simples. Valeu!)

 

 

--Edit

 

Mustorze, pode fazer um novo código que quando o player entra ele recebe uma mensagem em vermelho com uma frase escrita? Mas só ele tem que receber. Valeu!

Share this post


Link to post
Eratsu    37
Eratsu

BOA!!! ajuda muito os players

 

Share this post


Link to post
RobinhoOo    0
RobinhoOo

pergunta nb.. onde tem esse protocol80??

Share this post


Link to post
Dark Metal Lord    0
Dark Metal Lord

Não entendo mto de programação, mas consegui fazer o código funcionar! Bom Tutorial ^^

Share this post


Link to post
senha1    0
senha1
O Msg Login nao abre so um testinho inutio ?

 

Entao ele vai abrir em janela agora biggrin.gif!

 

Em Protocol80.ccp

troque:

************************************std::string tempstring = g_config.getString(ConfigManager::LOGIN_MSG);
************************************if(tempstring.size() > 0){
************************************************AddTextMessage(msg, MSG_STATUS_DEFAULT, tempstring.c_str());
************************************}

 

por:

 

************************************std::string huha = g_config.getString(ConfigManager::LOGIN_MSG);
************************************if(huha.size() > 0){
************************************************sendTextWindow(4990, huha.c_str());
************************************}

 

Somente Eu sei q é tosco biggrin.gif!

 

 

 

 

 

 

 

 

 

BOA! (: Assim vc vai longee... continue seu trabalho

Share this post


Link to post
LOkaumz    0
LOkaumz

Não entendo nada de programação... mas queria adicionar isso no meu ot... como faço para achar esse tal de "Protocol80.ccp"?

Share this post


Link to post
god_razor    0
god_razor

Hehe Admiro seu trabalho hehe +tp tem geito de mandar a cada 50lvs q ele upa !!!

xD

Share this post


Link to post
eduturconi    0
eduturconi

deve ser para ot 8.00...

Share this post


Link to post
Baah    6
Baah

Pow legal isso nao tinha visto isso ainda :)

Share this post


Link to post
Black Dragon    0
Black Dragon

Boa... eu até adicionaria no meu OT, mas não tenho capacidade kkkkkkkkkkkkkkkkk.

 

Dah muito trabslho.

Share this post


Link to post
LaB OrA    0
LaB OrA

Desculpa a minha burrice mas, para que serve?

 

OBS: eu ja botei aqui e ja compilei, so nao sei pra que serve exatamente POASKPOASokOAPSkOA

 

thanks

Share this post


Link to post
Kouga'Wolf    0
Kouga'Wolf

O Bom desse code é q ao contrario da msgzinha em branco ele se destaca e faz os players prestar mas atenção no que ta escrito...

Share this post


Link to post
sheel    0
sheel

Consegui fazer funcionar , é meio q inutil você pode usar a MOTD , mais ta valendo!

Share this post


Link to post
fabaoo    0
fabaoo

Aonde fica esse raio desse Protocol80??

Share this post


Link to post
LaB OrA    0
LaB OrA

@fabaoo

 

Nas sources...

 

@topic

 

1° Como faz para aparecer a noticia? o_O

Share this post


Link to post
fabaoo    0
fabaoo

Num tem nenhum arquivo com esse nome na minha pasta, é Yurots 0.3 Versão 0.8

Share this post


Link to post
Dark_Seifador    0
Dark_Seifador

uia ajudo veio vlw

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×