`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 ... Quote
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 Quote
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 Quote
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 Quote
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 Quote
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 Quote
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 Quote
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 Quote
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? Quote
xAddytzu Posted April 8, 2010 Posted April 8, 2010 add after updatePvPFlag(1); player.getAppearance.setNameColor(0x000000); for black color Quote
DaeWrou Posted April 8, 2010 Posted April 8, 2010 player.getAppearance.setNameColor(0x000000) player cannot be resolved :/ Quote
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 Quote
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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.