Thread: Why isnt this code working?

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 Why isnt this code working? 
    omgmike1
    Guest
    }
    if (npcs.npcType == 50) && npcdrop = = 8002) {
    temp.yell("Some one killed the kbd and got claws!");

    why isnt this working can u help correct it??

    thank you :]
    Reply With Quote  
     

  2. #2  
    Mr Sheen
    Guest
    What base? I've never seen a server with temp.
    Reply With Quote  
     

  3. #3  
    omgmike1
    Guest
    this base is deltascape it works when a npcs dies and announces a message but when i add the npcdrop to it, it wont work why??

    if it is possible can some one rewrite it for me thanks?
    Reply With Quote  
     

  4. #4  
    omgmike1
    Guest
    bump please help?
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    this list is wrong. Fixed it.
    if(npcs.npcType == 50 && npcdrop = = 8002) {
    Please show all of the code if you still have a problem
    Reply With Quote  
     

  6. #6  
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Yea you added an extra bracket.... In the midle...
    Visit Rune Miracle Here
    Reply With Quote  
     

  7. #7  
    omgmike1
    Guest
    i get this error then:

    NOTE: the first code i posted above it all of it.

    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2007
    Posts
    585
    Thanks given
    8
    Thanks received
    7
    Rep Power
    98
    Code:
    }
    if (npcs.npcType == 50) && npcdrop == 8002) {
    temp.yell("Some one killed the kbd and got claws!");
    try that
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Mar 2009
    Posts
    1,012
    Thanks given
    70
    Thanks received
    178
    Rep Power
    0
    then read it, make it this

    Code:
    if(npcs.npcType == 50 && npcdrop == 8002) {
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Dec 2008
    Posts
    207
    Thanks given
    1
    Thanks received
    0
    Rep Power
    14
    wow, backspace and make the 2 ='s put together.
    leecher much?
    Reply With Quote  
     

Page 1 of 2 12 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
  •