rakuzas Posted July 29, 2013 Posted July 29, 2013 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. Quote
DeadlySilence Posted July 29, 2013 Posted July 29, 2013 The usual way is this: close2; cutin "", 255; end; If this doesn't work, something is wrong on your side. Quote
Skorm Posted July 29, 2013 Posted July 29, 2013 Before your close add I think it is... cutin "",255; Quote
rakuzas Posted July 29, 2013 Author Posted July 29, 2013 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.. Quote
whitesn Posted July 29, 2013 Posted July 29, 2013 (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 July 29, 2013 by 2essy2killu Quote
rakuzas Posted July 29, 2013 Author Posted July 29, 2013 The usual way is this: close2; cutin "", 255; end; If this doesn't work, something is wrong on your side. now its really works! Quote
Question
rakuzas
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..
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.