Jump to content
  • 0

Class Restrict by Emistry


Question

Posted

While i was adding more maps this error pops out. Help?

[Error]:  Loading NPC file: npc/custom/classrestriction.txt
script error on npc/custom/classrestriction.txt line 84
    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
    79 :    "prtg_cas01","63",
    80 :    "prtg_cas02","64",
    81 :    "prtg_cas03","3",
    82 :    "prtg_cas04","2",
    83 :    "prtg_cas05","1";
*   84 :    '"'prtg_cas02","64",

2 answers to this question

Recommended Posts

Posted

    83 :    "prtg_cas05","1";      <---- how come there is a semicolon here ??
*   84 :    '"'prtg_cas02","64",    <---- why a comma appeared here ??

semicolon should be at the every end of array...and comma should be placed at the end of each element / items you add into the array.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...