I'm still working on this pvp server lol. And now I wonder how do I make so when you get like 100 kills it will show a world message (to everyone online?)
[QUOTE]if (getKillCount() == (100)) {
sendNotice("<col=fff800>"+ getDisplayName() +" Has achieved 100 kills!!");
}[/QUOTE]
But when I use that, the player has to relog to send the message, which is not really what I want...
I have also tried [QUOTE]World.sendWorldMessage("<col=fff800>"+ getDisplayName() +" has achieved 100 kills!!", false);[/QUOTE]
But I still have to relog, I want it to show directly when the player gets his/her 100th kill...
[QUOTE]if (getKillCount() == (100)) {
sendNotice("<col=fff800>"+ getDisplayName() +" Has achieved 100 kills!!");
}[/QUOTE]
But when I use that, the player has to relog to send the message, which is not really what I want...
I have also tried [QUOTE]World.sendWorldMessage("<col=fff800>"+ getDisplayName() +" has achieved 100 kills!!", false);[/QUOTE]
But I still have to relog, I want it to show directly when the player gets his/her 100th kill...
Share this post
Link to post
Share on other sites