Jump to content
  • 0

script error pls help me


Question

Posted

[오류] : status_set_viewdata (NPC) : -1의보기 데이터가 없습니다.

 

[오류] : NPC 파일로드 중 : npc / instances / Instance_PvP.txt 행의 npc / instances / Instance_PvP.txt
스크립트 오류 68
    parse_callfunc : 예상 ')'인수 목록 닫기
    63 :} else {
    64 : select ( ": PvP Duel Instance : Brasilis (으)로 돌아 가기 : Cancel ");
    65 :}
    66 : switch (@menu) {
    67 : case 1 :
* 68 : if (instance_id ( '1')) {
    69 : if (has_instance ( "1 @ pvp") == "") {
    70 : mes . @ 이름 $;
    71 : mes "당신의 그룹은 이미 다른 인스턴스에 등록되어 있습니다.";
    72 : 닫기;

 

 

 

문제를 찾을 수 없습니다. 나를 도와주세요

나는 영어가 능숙하지 않다.
 

4 answers to this question

Recommended Posts

  • 0
Posted

    64 :                select(":Enter the PvP Duel Instance:Return to Brasilis:Cancel");
    65 :        }
    66 :        switch(@menu){
    67 :        case 1:
*   68 :                if(instance_id('1'){
    69 :                        if(has_instance("1@pvp") == ""){
    70 :                                mes .@name$;
    71 :                                mes "Your group is already registered at an other instance.";
    72 :                                close;
    73 :                        }
 

 

It still happens.

  • 0
Posted
5 hours ago, Cyro said:

remove extra )

ie

if (instance_id (1)

 

What are you telling him? this is completely wrong, the parenthesis are right, the problem is that he is putting semicolons on the value, or the value itself, because instance_id take no values, it have to be:

  

if(instance_id()){

like Christopher says.

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...