Thread: All skill capes need 99 skill (NOT IN PROCESS)

Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1 All skill capes need 99 skill (NOT IN PROCESS) 
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,433
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    add this in your public boolean wear(int wearID, int slot) {
    Code:
    		if (wearID == 10704 && (playerLevel[0] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Attack to wear this cape."); 
    			}
    		if (wearID == 10705 && (playerLevel[0] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Attack to wear this cape."); 
    			}
    		if (wearID == 10710 && (playerLevel[1] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Defence to wear this cape."); 
    			}
    		if (wearID == 10711 && (playerLevel[1] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Defence to wear this cape."); 
    			}
    		if (wearID == 10707 && (playerLevel[2] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Strength to wear this cape."); 
    			}
    		if (wearID == 10708 && (playerLevel[2] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Strength to wear this cape."); 
    			}
    		if (wearID == 10713 && (playerLevel[4] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Range to wear this cape."); 
    			}
    		if (wearID == 10714 && (playerLevel[4] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Range to wear this cape."); 
    			}
    		if (wearID == 10716 && (playerLevel[5] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Prayer to wear this cape."); 
    			}
    		if (wearID == 10717 && (playerLevel[5] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Prayer to wear this cape."); 
    			}
    		if (wearID == 10719 && (playerLevel[6] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Magic to wear this cape."); 
    			}
    		if (wearID == 10720 && (playerLevel[6] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Magic to wear this cape."); 
    			}
    		if (wearID == 10758 && (playerLevel[7] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Cooking to wear this cape."); 
    			}
    		if (wearID == 10759 && (playerLevel[7] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Cooking to wear this cape."); 
    			}
    		if (wearID == 10764 && (playerLevel[8] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 WoodCutting to wear this cape."); 
    			}
    		if (wearID == 10765 && (playerLevel[8] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 WoodCutting to wear this cape."); 
    			}
    		if (wearID == 10740 && (playerLevel[9] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fletching to wear this cape."); 
    			}
    		if (wearID == 10741 && (playerLevel[9] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fletching to wear this cape."); 
    			}
    		if (wearID == 10755 && (playerLevel[10] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fishing to wear this cape."); 
    			}
    		if (wearID == 10756 && (playerLevel[10] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fishing to wear this cape."); 
    			}
    		if (wearID == 10761 && (playerLevel[11] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 FireMaking to wear this cape."); 
    			}
    		if (wearID == 10762 && (playerLevel[11] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 FireMaking to wear this cape."); 
    			}
    		if (wearID == 10737 && (playerLevel[12] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Crafting to wear this cape."); 
    			}
    		if (wearID == 10738 && (playerLevel[12] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Crafting to wear this cape."); 
    			}
    		if (wearID == 10752 && (playerLevel[13] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Smithing to wear this cape."); 
    			}
    		if (wearID == 10753 && (playerLevel[13] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Smithing to wear this cape."); 
    			}
    		if (wearID == 10749 && (playerLevel[14] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Mining to wear this cape."); 
    			}
    		if (wearID == 10750 && (playerLevel[14] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Mining to wear this cape."); 
    			}
    		if (wearID == 10731 && (playerLevel[15] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Herblore to wear this cape."); 
    			}
    		if (wearID == 10732 && (playerLevel[15] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Herblore to wear this cape."); 
    			}
    		if (wearID == 10728 && (playerLevel[16] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Agility to wear this cape."); 
    			}
    		if (wearID == 10729 && (playerLevel[16] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Agility to wear this cape."); 
    			}
    		if (wearID == 10734 && (playerLevel[17] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Theiving to wear this cape."); 
    			}
    		if (wearID == 10735 && (playerLevel[17] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Theiving to wear this cape."); 
    			}
    		if (wearID == 10743 && (playerLevel[18] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Slayer to wear this cape."); 
    			}
    		if (wearID == 10744 && (playerLevel[18] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Slayer to wear this cape."); 
    			}
    		if (wearID == 10767 && (playerLevel[19] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Farming to wear this cape."); 
    			}
    		if (wearID == 10768 && (playerLevel[19] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Farming to wear this cape."); 
    			}
    		if (wearID == 10722 && (playerLevel[20] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Rune Crafting to wear this cape."); 
    			}
    		if (wearID == 10723 && (playerLevel[20] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Rune Crafting to wear this cape."); 
    			}
    if (wearID == 10706 && (playerLevel[0] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Attack to wear this hood."); 
    			}
    if (wearID == 10712 && (playerLevel[1] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Defence to wear this hood."); 
    			}
    if (wearID == 10709 && (playerLevel[2] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Strength to wear this hood."); 
    			}
    if (wearID == 10727 && (playerLevel[3] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 HP to wear this hood."); 
    			}
    if (wearID == 10713 && (playerLevel[4] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Range to wear this hood."); 
    			}
    if (wearID == 10718 && (playerLevel[5] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Prayer to wear this hood."); 
    			}
    if (wearID == 10721 && (playerLevel[6] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Magic to wear this hood."); 
    			}
    if (wearID == 10760 && (playerLevel[7] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Cooking to wear this hood."); 
    			}
    if (wearID == 10766 && (playerLevel[8] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 WoodCutting to wear this hood."); 
    			}
    if (wearID == 10742 && (playerLevel[9] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fletching to wear this hood."); 
    			}
    if (wearID == 10757 && (playerLevel[10] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Fishing to wear this hood."); 
    			}
    if (wearID == 10763 && (playerLevel[11] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 FireMaking to wear this hood."); 
    			}
    if (wearID == 10739 && (playerLevel[12] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Crafting to wear this hood."); 
    			}
    if (wearID == 10754 && (playerLevel[13] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Smithing to wear this hood."); 
    			}
    if (wearID == 10751 && (playerLevel[14] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Mining to wear this hood."); 
    			}
    if (wearID == 10733 && (playerLevel[15] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Herblore to wear this hood."); 
    			}
    if (wearID == 10730 && (playerLevel[16] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Agility to wear this hood."); 
    			}
    if (wearID == 10736 && (playerLevel[17] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Theiving to wear this hood."); 
    			}
    if (wearID == 10745 && (playerLevel[18] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Slayer to wear this hood."); 
    			}
    if (wearID == 10769 && (playerLevel[19] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Farming to wear this hood."); 
    			}
    if (wearID == 10724 && (playerLevel[20] <= 98))
    			{ 
    				GoFalse = true;
    		sendMessage("You need 99 Rune Crafting to wear this hood."); 
    			}
    Have fun 33333
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Called Enzo
    Guest
    wrong section..?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,433
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    nah this must be in Config ^.^
    because it isnt even a tut :l
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Called Enzo
    Guest
    It is.. u copy it in ur server.. so it is
    Reply With Quote  
     

  5. #5  
    ~Legend Rene
    Guest
    Nope , this belongs here enzo.
    Reply With Quote  
     

  6. #6  
    Registered Member Zika's Avatar
    Join Date
    Jul 2006
    Age
    27
    Posts
    435
    Thanks given
    0
    Thanks received
    0
    Rep Power
    31
    Only thing that works for my server, my code like
    Code:
    	public boolean wear(int wearID, int slot) {
    		int targetSlot = 0;
    		if((playerItems[slot] - 1) == wearID) {
    			targetSlot = itemType(wearID);
    			int CLFishing = GetCLFishing(wearID);
    			boolean GoFalse = false;
    			if (CLFishing > playerLevel[playerFishing]) {
    				sendMessage("You need " + CLFishing + " " + statName[playerFishing] + " to equip this item.");
    				GoFalse = true;
    			}
    Code:
    		public int GetCLFishing(int ItemID) {
    		if (ItemID == -1) {
    			return 1;
    		}
    		if (ItemID == 10755) {
    		return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		if (ItemName.startsWith("Fishing")) {
    		return 99;
    		}
    		return 1;
    	}
    didnt work.

    rep+ for j00!
    Zika
    _______

    Member #245
    ex Official MM
    Reply With Quote  
     

  7. #7  
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,433
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    under
    Code:
    			if (CLFishing > playerLevel[playerFishing]) {
    				sendMessage("You need " + CLFishing + " " + statName[playerFishing] + " to equip this item.");
    				GoFalse = true;
    			}
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Byty
    Guest
    THis dosen't work for me...

    All it does, if someone clicks on the cape, they wear it and it displays the message "You Need 99 Cooking To Wear this cape"

    Doesn't work
    Reply With Quote  
     

  9. #9  
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,433
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    Quote Originally Posted by Byty View Post
    THis dosen't work for me...

    All it does, if someone clicks on the cape, they wear it and it displays the message "You Need 99 Cooking To Wear this cape"

    Doesn't work
    Learn read?
    All Skill Capes need a 99 Skill
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Byty
    Guest
    So your tut is for if someone puts on a skillcape it lets them know that they need 99 in that skill to wear them?

    Although, you can wear them at any level..
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •