Thread: SUPER easy question no joke..

Results 1 to 3 of 3
  1. #1 SUPER easy question no joke.. 
    Registered Member
    Join Date
    Aug 2010
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    ok I have declared:

    Code:
    public boolean isDuck() {
    		if (playerEquipment[playerRing] == 6583) {
    		return true;
    		} return false;
    	}
    	
    	public void duckRing() {
    		if (isDuck()) {
    			npcId2 = 44;
    			isNpc = true;
    			updateRequired = true;
    			setAppearanceUpdateRequired(true);
    		}
    	}
    in my player.java

    Where do I put duckRing() to make the player turn into a duck?

    EDIT: Project insanity
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2008
    Posts
    400
    Thanks given
    10
    Thanks received
    11
    Rep Power
    26
    A duck ring.. LOL.. Anyways..

    I'd say Item Assistant

    Ctrl+F
    Code:
    	/**
    	*Wear Item
    	**/
    Below one of the case's put this:
    Code:
    			case #:
    				c.BLABLA();
    			break;
    I will write it for you, if you still don't understand.

    Code:
    case 6583:
            c.duckRing();
            break;
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2010
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks xD

    EDIT: I understand I just wasnt sure where to put it.
    EDIT2: now to return players back after they remove it...
    Reply With Quote  
     


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
  •