Jump to content
  • 0

Cutin not gone after click close?


Question

Posted

/help

 

Hello,

 

i put cutin in some of my NPC.. But why its not disappear after click close? Which part is my mistake? Thank you..

 

Here is the sample..

 

ra_temple,110,159,5	script	GM Online Lists	856,{
cutin "3rd_wl_queen06",2;
mes "Staffs Online Lists : ^FF0000"+getarraysize( .GM_Name$ )+"^000000 Staffs";
mes "^0000FF_____________________________^000000";
for( set .@i,0; .@i < getarraysize( .GM_Name$ ) ; set .@i,.@i + 1 ){
	getmapxy( .Map$,.x,.y,0,.GM_Name$[.@i] );
	mes "[ ^63D1F4"+.GM_Level$[.@i]+"^000000 ] ^FF0000@ ^0000FF"+.GM_Name$[.@i]+"^000000";
	mes "^0000FF_____________________________^000000";
	}
close;

OnInit:
set .MinGMLevel,1;              // Min. GM Level to Show in Online Lists
end;

OnPCLoginEvent:
set .@gmlevel,getgmlevel();
if( .@gmlevel < .MinGMLevel ) end;
set .@size,getarraysize( .GM_Name$ );
set .GM_Name$[ .@size ],strcharinfo(0);
if( .@gmlevel < 10 ) set .GM_Level$[ .@size ],"Level 1 GM";
else if( .@gmlevel < 20 ) set .GM_Level$[ .@size ],"Level 2 GM";
else if( .@gmlevel < 30 ) set .GM_Level$[ .@size ],"Level 3 GM";
else if( .@gmlevel < 40 ) set .GM_Level$[ .@size ],"Level 4 GM";
else set .GM_Level$[ .@size ],"ADMIN";
end;

OnPCLogoutEvent:
if( getgmlevel() < .MinGMLevel ) end;
for( set .@i,0; .@i < getarraysize( .GM_Name$ ) ; set .@i,.@i + 1 )
	if( strcharinfo(0) == .GM_Name$[.@i] ){
	deletearray .GM_Name$[.@i],1;
	deletearray .GM_Level$[.@i],1;
	end;
	}
end;
}

// Special Thanks to Emistry for nice script and guide to make it works!
// Edit some script to make it works on Milenia Ragnarok Online by Rakuzas.

 

5 answers to this question

Recommended Posts

Posted

Before your close add I think it is...

cutin "",255;

 

Not working.. If i put before my close, it will shows nothing.. Like no cutin.. Hmmm i tried to put before "end;" but still same problem.. 

Posted (edited)

Before your close add I think it is...

cutin "",255;
 

Not working.. If i put before my close, it will shows nothing.. Like no cutin.. Hmmm i tried to put before "end;" but still same problem..

add before close
next;
cutin "",255;
Edited by 2essy2killu

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