Jump to content

Question

Posted

Γεια σας παιδιά μήπως υπάρχει κάποιος κώδικας για clan leader color που να δουλεύει ; 

Δοκίμασα ένα του Baggou αλλά δυστυχώς δεν δούλευε για acis 367 ! 

ευχαριστώ !

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

UserInfo.java CharInfo.java des pou einai to name color k rikse tin grami edw

Edited by Reborn12
  • 0
Posted

Userinfo.java

writeD(_activeChar.getAppearance().getNameColor());

charinfo.java

writeD(_activeChar.getAppearance().getNameColor());

 

 

UserInfo.java CharInfo.java des pou einai to name color k rikse tin grami edw
  • 0
Posted

You need a check there, like if clan != null && is clan leader ? parse the color you want : original check.

  • 0
Posted (edited)

writeD(_activeChar.isClanLeader() ? Config.LEADER_NAME_COLOR : _activeChar.getAppearance().getNameColor());

Antalakse tin grami s me auto kai sta 2 files kai kane to decode config na pernei to color..apo config

Edited by Reborn12
  • 0
Posted

 

 

You need a check there, like if clan != null && is clan leader ? parse the color you want : original check
 

 

Yeap :p thanks to reborn12

 

 

writeD(_activeChar.isClanLeader() ? Config.LEADER_NAME_COLOR : _activeChar.getAppearance().getNameColor());

Antalakse tin grami s me auto kai sta 2 files kai kane to decode config na pernei to color..apo config 


 
 
βγάζει error to writeD τώρα για κάποιο λόγο και στο quickfix μου έχει change method writeD int to writeD object ή cast argument 1 to int 
 
στο config έβαλα αυτό επάνω 
 
public static boolean LEADER_NAME_COLOR;

κάτω τι να βάλω ; 

  • 0
Posted

writeD(_activeChar.isClanLeader() ? Config.LEADER_NAME_COLOR : _activeChar.getAppearance().getNameColor());

Antalakse tin grami s me auto kai sta 2 files kai kane to decode config na pernei to color..apo config

 

Integer.parseInt(Config.LEADER_NAME_COLOR, 16);

  • 0
Posted (edited)
Integer.parseInt(Config.LEADER_NAME_COLOR, 16);

 

δεν κατάλαβα αυτό που πρέπει να το βάλω ; 

Edited by TEOGR_hItMaKeR

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


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock