Thread: A little help ?

Results 1 to 9 of 9
  1. #1 A little help ? 
    Registered Member
    Join Date
    Nov 2013
    Posts
    31
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    case ####:
    if(c.playerEquipement[c.playerCape] == ###)
    return true;
    else
    return false;

    Its Project Insanity
    i tryed to change it little bit , and i wash from 4 errors down to 2 , but still i think there is a better java txt than the above

    the point of what im trying to do .. is making npc agresive if you wear a certain cape , please would somebody explain to me ,
    you dont need to spoonfeed me , i want to know how java works


    thankyou in advance

    -sincerly partyhat
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2011
    Posts
    95
    Thanks given
    4
    Thanks received
    6
    Rep Power
    14
    Please post a little bit more code (maybe from before the switch statement) as well as the errors you are getting.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    Show errors and code
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Sep 2013
    Posts
    142
    Thanks given
    7
    Thanks received
    2
    Rep Power
    11
    case ####:
    if(c.playerEquipement[c.playerCape] == ###){
    !isAggressive (isAggressive = true)
    }else{
    ?isAggressive (isAggressive = false)
    }
    break;

    Try that?
    Reply With Quote  
     

  6. #5  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    If you're pasting the exact code, then the #'s are giving you the error
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member
    Join Date
    Nov 2013
    Posts
    31
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Vexar View Post
    If you're pasting the exact code, then the #'s are giving you the error
    lmao im not that stupid but , to all thankyou alot for answering!
    Reply With Quote  
     

  9. #7  
    Registered Member
    Join Date
    Nov 2013
    Posts
    31
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Steen View Post
    case ####:
    if(c.playerEquipement[c.playerCape] == ###){
    !isAggressive (isAggressive = true)
    }else{
    ?isAggressive (isAggressive = false)
    }
    break;

    Try that?
    that look alot better than the one i goty from somebody else , thankyou alot i will try right away!
    Reply With Quote  
     

  10. #8  
    Registered Member
    Join Date
    Nov 2013
    Posts
    31
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Steen View Post
    case ####:
    if(c.playerEquipement[c.playerCape] == ###){
    !isAggressive (isAggressive = true)
    }else{
    ?isAggressive (isAggressive = false)
    }
    break;

    Try that?
    i feel stupid,,, now i cant find where to put i gues at the statement of attackplayer in npc handler , if not please tell me where else Someho i cant find out , thankyou
    Reply With Quote  
     

  11. #9  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    Code:
    case 6222:
    if(c.playerEquipement[c.playerCape] == 6570){
    return true;
    }
    else {
    return false;
    }
    not seeing how that wouldnt work
    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

Similar Threads

  1. [Req] I need a little help click here
    By Anthony in forum Tutorials
    Replies: 3
    Last Post: 02-28-2008, 12:14 AM
  2. [REQ] Little help...
    By Ancient Arr0w in forum Models
    Replies: 13
    Last Post: 01-31-2008, 09:42 AM
  3. Run Server? little help please :]
    By im so h00d in forum Tutorials
    Replies: 13
    Last Post: 11-11-2007, 03:59 AM
  4. A little help?
    By Caboose in forum Requests
    Replies: 8
    Last Post: 09-30-2007, 07:10 AM
  5. [little help] funny little thing with JFrame
    By Dark Knight in forum Tutorials
    Replies: 2
    Last Post: 08-28-2007, 08:51 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •