Jump to content
  • 0
wasolsdpker

Announcing to server Error

Question

I need help im getting an error im trying to make it so it announces to server when someone gets 99 in a skill

[QUOTE] public void levelUp(int skill) {
c.inDialogue = true;
updateSkillTab();
switch(skill) {
case 0:
sendFrame126("Congratulations, you just advanced an attack level!", 6248);
sendFrame126("Your attack level is now "+c.realLevel[skill]+".", 6249);
c.sendMessage("Congratulations, you just advanced an attack level.");
c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983);
sendFrame164(6247);
if(c.playerLevel[0] <= 99 ) {
c2.sendMessage("<shad=15695415>[Ruination News]:" + c.playerName + " " + " has achieved 99 in.</col> ");
}
}
}


break;[/QUOTE]

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
[quote name='fallen2dc']I got it to work



But when someone gets 99 in one stat it announces they got in all..

i got 99 attack =

[img]http://i.gyazo.com/bcc16cabf6db39d75d03d7ff7912edca.png[/img][/QUOTE]

else?

Share this post


Link to post
Share on other sites

×