Jump to content
  • 0
iisayboom

Slayer check on slayer level?

Question

Okey so imma ask the question real simple. How do i let this slayer part check on slayer level and combatlevel, ive been trying to many things, and really don't know why it always gives erorrs...

public void giveTask() {
if (c.combatLevel < 50)
giveTask(1);
else if (c.combatLevel >= 50 && c.combatLevel <= 90)
giveTask(2);
else if (c.combatLevel > 90 && c.combatLevel <= 121)
giveTask(3);
else if (c.combatLevel >= 122 && c.combatLevel <= 138)
giveTask(4);
else
giveTask(2);
}

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
What's the error you get?

Share this post


Link to post
Share on other sites
  • 0
[quote name='Hash']What's the error you get?[/QUOTE]

This is the error i get.
[url]http://prntscr.com/6g7a4u[/url]

Share this post


Link to post
Share on other sites
  • 0
[quote name='Hash']What's the error you get?[/QUOTE]

I just quit trying to make it work, been 4 houres non-stop trying ths and still don't got it :( Edited by iisayboom

Share this post


Link to post
Share on other sites
  • 0
All nevermind :p I've been the biggest retard evaaaa.. I've found my problem its all fixed thx anyway =)

Share this post


Link to post
Share on other sites

×