Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script Sample -1,{
- OnInit:
- // GM Level X and below will be Restricted
- set .GMLevel,80;
- // Map Names
- setarray .MapList$[0],"hugel","payon","prontera","izlude";
- for( set .i,0; .i < getarraysize( .MapList$ ); set .i,.i + 1 )
- setmapflag .MapList$[.i],mf_loadevent;
- end;
- OnPCLoginEvent:
- OnPCLoadMapEvent:
- for( set .@i,0; .@i < getarraysize( .MapList$ ); set .@i,.@i + 1 )
- if( strcharinfo(3) == .MapList$[.@i] && getgmlevel() && getgmlevel() <= .GMLevel ){
- mes "You are not allow to stay at here.";
- close2;
- warp "SavePoint",0,0;
- break;
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment