rakuzas Posted July 29, 2013 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 459 Reputation: 7 Joined: 06/29/12 Last Seen: April 25, 2019 Share 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 Link to comment Share on other sites More sharing options...
DeadlySilence Posted July 29, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted July 29, 2013 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted July 29, 2013 Before your close add I think it is... cutin "",255; Quote Link to comment Share on other sites More sharing options...
rakuzas Posted July 29, 2013 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 459 Reputation: 7 Joined: 06/29/12 Last Seen: April 25, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
whitesn Posted July 29, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Share 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 Link to comment Share on other sites More sharing options...
rakuzas Posted July 29, 2013 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 459 Reputation: 7 Joined: 06/29/12 Last Seen: April 25, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
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..
Link to comment
Share on other sites
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.