Thread: Compiling Error(1)

Results 1 to 4 of 4
  1. #1 Compiling Error(1) 
    360236
    Guest
    When I got this error(Its looks simple, but I`m retarded):





    Code:
    Code:
    if(((itemUsed == 15341 && usewith == 15342)) {
    if(playerHasItemAmount(15343, 1) && actionTimer <= 0)
    if(playerLevel[13] >= 80) {
    sM("You make an godsword blade");
    deleteItem(15341, getItemSlot(15341), 1);
    deleteItem(15342, getItemSlot(15342), 1);
    deleteItem(15343, getItemSlot(15343), 1);
    startAnimation(725);
    addItem(15331, 1); // gs making
    } else {
    sM("You need a smithing level of at least 80 and all shards.");
    }

    If you know ho to fix please post,


    Thank you.



    P.S.- Where the ^ points there is a space now, so it is not the {
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Sep 2007
    Age
    30
    Posts
    114
    Thanks given
    2
    Thanks received
    0
    Rep Power
    26
    Code:
    if(itemUsed == 15341 && usewith == 15342) {
    if(playerHasItemAmount(15343, 1) && actionTimer <= 0)
    if(playerLevel[13] >= 80) {
    sM("You make an godsword blade");
    deleteItem(15341, getItemSlot(15341), 1);
    deleteItem(15342, getItemSlot(15342), 1);
    deleteItem(15343, getItemSlot(15343), 1);
    startAnimation(725);
    addItem(15331, 1); // gs making
    } else {
    sM("You need a smithing level of at least 80 and all shards.");
    }
    Reply With Quote  
     

  3. #3  
    haloking
    Guest
    Switch
    Code:
     if(((itemUsed == 15341 && usewith == 15342)) {
    with
    Code:
     if((itemUsed == 15341 && usewith == 15342)) {
    You had one more ( next to the if statement.
    Reply With Quote  
     

  4. #4  
    Ash
    Guest
    Follow what Halo said
    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
  •