Tonetzkii Posted September 16, 2012 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
Euphy Posted September 16, 2012 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
Question
Tonetzkii
Guys anyone fix my script. this is gm account lock map but its not working on rathena.
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.