Normality 0 #1 Posted July 17, 2014 It's probably an easy fix but at the moment i'm a little lost.. I've done all crown placements. <img=1> Mod <img=2> Admin <img=3> Owner <img=4> Donator <img=5> Server Support <img=6> Veteran This is how it looks in the command.java files. [CODE] if(c.playerRights == 5 && !hasYelled) { c2.sendMessage("<col=2200FF><shad=0>[Support]</col><img=5>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +""); hasYelled = true; } else if (c.playerRights == 1 && !hasYelled) { c2.sendMessage("<col=8F8F8F><shad=0> [Mod] <img=1>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +""); hasYelled = true;[/CODE] That's Server Support and Mod... The crowns show up normally when you talk, All in the correct order.. But when i want them to appear in the ::yell [message] The yells work perfectly just no crown appears.. :/ Anyone have a fix for this? I would be really thankful. Share this post Link to post Share on other sites
0 Scriptss 0 #2 Posted July 17, 2014 [quote name='Normality']It's probably an easy fix but at the moment i'm a little lost.. I've done all crown placements. <img=1> Mod <img=2> Admin <img=3> Owner <img=4> Donator <img=5> Server Support <img=6> Veteran This is how it looks in the command.java files. [CODE] if(c.playerRights == 5 && !hasYelled) { c2.sendMessage("<col=2200FF><shad=0>[Support]</col><img=5>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +""); hasYelled = true; } else if (c.playerRights == 1 && !hasYelled) { c2.sendMessage("<col=8F8F8F><shad=0> [Mod] <img=1>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +""); hasYelled = true;[/CODE] That's Server Support and Mod... The crowns show up normally when you talk, All in the correct order.. But when i want them to appear in the ::yell [message] The yells work perfectly just no crown appears.. :/ Anyone have a fix for this? I would be really thankful.[/QUOTE] crowns work before you edited them ? + do the ones you've not edited work ? Share this post Link to post Share on other sites
0 Biggy 1 #3 Posted July 17, 2014 [B]Can you show me a picture please, giving me the code really wont help me solve this problem. Thanks.[/B] Share this post Link to post Share on other sites
I've done all crown placements.
<img=1> Mod
<img=2> Admin
<img=3> Owner
<img=4> Donator
<img=5> Server Support
<img=6> Veteran
This is how it looks in the command.java files.
[CODE]
if(c.playerRights == 5 && !hasYelled) {
c2.sendMessage("<col=2200FF><shad=0>[Support]</col><img=5>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +"");
hasYelled = true;
} else if (c.playerRights == 1 && !hasYelled) {
c2.sendMessage("<col=8F8F8F><shad=0> [Mod] <img=1>"+ c.playerName +": "+ Misc.optimizeText(playerCommand.substring(5)) +"");
hasYelled = true;[/CODE]
That's Server Support and Mod...
The crowns show up normally when you talk, All in the correct order.. But when i want them to appear in the ::yell [message] The yells work perfectly just no crown appears.. :/
Anyone have a fix for this?
I would be really thankful.
Share this post
Link to post
Share on other sites