antiblock
https://arwen2.global/
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
henriques.

Duvida Quest

Question

Boas pessoal tenho aqui uma dúvida aqui nessa linha

notice_all("Parabéns ao jogador ".. pc.get_name() .." do ".. pc.get_empire() .." atingiu o nível máximo! ") 

 

onde diz "..pc.get_empire().." supostamente queria que aparece-se o nome do reino

exmeplo:

 

Parabéns ao jogador XXXX do Reino Jinno atingiu o nível máximo!

 

Mas no entanto aparece da seguinte forma:

 

Parabéns ao jogador XXXX do 3 atingiu o nível máximo!

 

Que função devo usar para aparecer o nome do reino em vez do id do reino?

 

Cumprimentos

Henrique soares

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0
reino = { "Shinsoo" , "Chunjo" , "Jinno" }notice_all("Parabéns ao jogador ".. pc.name() .." do "..reino[pc.getempire()].." atingiu o nível máximo! ")

Share this post


Link to post
Share on other sites
antiblock
diamwall

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
Sign in to follow this