Jump to content
  • 0

[Error]: npc_parsesrcfile: Unknown syntax in file


Chasewalk

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

Anyone how to fix error [Error]: npc_parsesrcfile: Unknown syntax in file thanks!

    switch(select("I want to check shop:I'm good thank you..")) {
    case 1:
        callshop "woe_shop",4;
        end;

    // Shop items: <ID>,<point cost>
    setarray .Shop,        
        4001,1,
        4004,1,
        4033,1,
        4196,1,
        4197,25,
        4054,50,
        4174,75,
        4047,100;

    npcshopdelitem "woe_shop",909;
    for(.@i=0; .@i<getarraysize(.Shop); .@i+=2)
        npcshopadditem "woe_shop",.Shop[.@i],.Shop[.@i+1];
        end;
        }

    }
    case 2: 
        mes "Thats good to hear!";
        close;

-    pointshop   woe_shop    -1,#WOEPOINTS,909:-1

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

problem solved~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...