`Rοmeο Posted April 8, 2010 Posted April 8, 2010 aww thats lame, make ur own code lol c/p ftw >< I will make the code by mine self ofc but the idea is him ...
PiKKa Posted April 8, 2010 Author Posted April 8, 2010 you can do it on ur own! and if u got a error that means its cus of you doing smth wrong, a simple code like this cant have errors! Agree
xAddytzu Posted April 8, 2010 Posted April 8, 2010 Gracia epilogue shows an error but i will fix it and put for config thx good job Show us your errors
l2redkiller Posted April 8, 2010 Posted April 8, 2010 my error was there : public void startPvPFlag() { updatePvPFlag(1); L2PcInstance player = (L2PcInstance)this; [color=red]player.getAppearance[/color].setNameColor(Config.PVP_START_FLAG); _PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 1000, 1000); } now i use public void startPvPFlag() { updatePvPFlag(1); L2PcInstance player = (L2PcInstance)this; [color=green]player.getAppearance().[/color]setNameColor(Config.PVP_START_FLAG); _PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 1000, 1000); } without error but in game no flag color change so donno wount work for ge
xAddytzu Posted April 8, 2010 Posted April 8, 2010 replace player.getAppearance.setNameColor(Config.PVP_START_FLAG); with player.getAppearance.setNameColor(0x000000); for black color
l2redkiller Posted April 8, 2010 Posted April 8, 2010 i dont wanna have a color i wanna create to change in config ^^ its much better for all :D
Setekh Posted April 8, 2010 Posted April 8, 2010 replace player.getAppearance.setNameColor(Config.PVP_START_FLAG); with player.getAppearance.setNameColor(0x000000); for black color @Ro, fa-i ma un config ca turbeaza asta xD
l2redkiller Posted April 8, 2010 Posted April 8, 2010 i dont use it becurse not working for me with confug so thx for the post :P
DaeWrou Posted April 8, 2010 Posted April 8, 2010 public void startPvPFlag() { updatePvPFlag(1); _PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 1000, 1000); } This is how it looks at my core, how can I change color?
xAddytzu Posted April 8, 2010 Posted April 8, 2010 add after updatePvPFlag(1); player.getAppearance.setNameColor(0x000000); for black color
DaeWrou Posted April 8, 2010 Posted April 8, 2010 player.getAppearance.setNameColor(0x000000) player cannot be resolved :/
xAddytzu Posted April 8, 2010 Posted April 8, 2010 player.getAppearance.setNameColor(0x000000) player cannot be resolved :/ put after updatePvPFlag(1); L2PcInstance player = (L2PcInstance)this; player.getAppearance.setNameColor(0x000000); //for black color
DaeWrou Posted April 8, 2010 Posted April 8, 2010 When I do that I get other error: player.getAppearance.setNameColor(0xff6600); player.getAppearance cannot be resolved or is not a field Then I do like this player.getAppearance().setNameColor(0xff6600); I get no error, but its not working ;/ I use L2JServer Epilogue
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now