Thread: Why isnt this code working?

Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Post ALL of the code and i will fix the problem. I can't tell whats wrong if I only see like half of it.
    Reply With Quote  
     

  2. #12  
    Registered Member Market Banned Market Banned

    JPlusPlus's Avatar
    Join Date
    Jul 2008
    Age
    25
    Posts
    1,179
    Thanks given
    63
    Thanks received
    32
    Rep Power
    730
    If he backspaced the two = together his code should be working now... He probably did got it fixed and hasn't looked at the thread to let us know that it's done lol
    Reply With Quote  
     

  3. #13  
    omgmike1
    Guest
    none of those above work, if i change it to this:

    NOTE: I DID POST ALL OF THE CODE, IT'S ONLY 2 LINES

    }
    if (npcs[i].npcType ==50 && npcdrop == 8002) {
    temp.yell("Some one killed the kbd and got claws!");

    i get this error:

    Reply With Quote  
     

  4. #14  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    That variable does not exist. try chaning npcdrop to npcDrop
    Reply With Quote  
     

  5. #15  
    omgmike1
    Guest
    }
    if (npcs.npcType == 50) && npcdrop == 8002) {
    temp.yell("Some one killed the kbd and got claws!");
    }

    what is wrong with this then i added a space in between the == and then also tryed it with = = either way thats not letting it work??
    Reply With Quote  
     

  6. #16  
    omgmike1
    Guest
    i change it to npcDrop, then tried, NpcDrop, then Npcdrop, none of those work
    Reply With Quote  
     

  7. #17  
    omgmike1
    Guest
    bump? help please?
    Reply With Quote  
     

  8. #18  
    Banned

    Join Date
    Aug 2008
    Posts
    1,885
    Thanks given
    56
    Thanks received
    102
    Rep Power
    0
    try this

    Code:
    if (NpcDrops[6570].npcId == 95) {
                                           c.yell("Some one killed the kbd and got claws!");
                            }
    Reply With Quote  
     

  9. #19  
    omgmike1
    Guest
    your code worked and compiled fine and all, but then when i kill the kbd i automatically lose connection? any other ideas??
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

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
  •