Tonetzkii Posted September 16, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 323 Reputation: 9 Joined: 11/19/11 Last Seen: September 25, 2015 Share Posted September 16, 2012 Guys anyone fix my script. this is gm account lock map but its not working on rathena. - script NOGMALLOWED -1,{ OnPCLoadMapEvent: if(getgmlevel() >= 10 && getgmlevel() < 99) if(getd(".gmMapCheck_" + strcharinfo(3))) warp "SavePoint", 0, 0; end; OnInit: setarray .maps$[0],"quiz_02","rpc_01","rpc_02","rpc_room01","rpc_room02","prtg_cas03","payg_cas03","gefg_cas03","aldeg_cas03","arug_cas01","arug_cas03","schg_cas03"; for(set .@i, 0; .@i < getarraysize(.maps$[0]); set .@i, .@i + 1) { //set loadevent flag setmapflag .maps$[.@i], mf_loadevent; //setup for non-loop based map check later on setd(".gmMapCheck_" + .maps$[.@i], 1); } } Quote Link to comment Share on other sites More sharing options...
Euphy Posted September 16, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted September 16, 2012 rAthena doesn't use GM levels. The command still works, but likely the group IDs you have aren't identical to the GM levels (consider using getgroupid() instead). Quote Link to comment Share on other sites More sharing options...
Question
Tonetzkii
Guys anyone fix my script. this is gm account lock map but its not working on rathena.
Link to comment
Share on other sites
1 answer 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.