Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[New Year 2019] VPS Hosting

To celebrate the new year of 2019, we will do a giveaway at 01/01/2019 20:00 UTC.

Board Rules

Read the board rules in the link bellow.



Nukayool

[Fix] Chat De Reinos (Source)

Recommended Posts

Boas Pessoal,Não vou conseguir explicar muito bem mas vou deixar aqui uma ideia do que é.

Vou disponibilizar o ficheiro para poderem fazer comparações.

Para quem quer aplicar o chat de reinos na source poderá fazer da seguinte maneira:

Ficheiro do char

input_main.cpp

Please login or register to see this spoiler.

cumpz

 

Please login or register to see this attachment.

Share this post


Link to post
Share on other sites

a usares este poderia dar um "bug", que é quando o char fala não aparece o nome dele

 

snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", kingdoms[ch->GetEmpire()-1], chatbuf);

 

terias de por o nome tmb assim

 

snprintf(chatbuf_global, sizeof(chatbuf_global), "%s [%s] %s", kingdoms[ch->GetEmpire()-1],ch->GetName(), chatbuf);

 

cumps

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.