I need that player can enter too..because this script is (// GM Level X and below will be Restricted) anyone can edit or modify this? to enable players to enter to.. Only restricted GM is lvl 2 to 80 if its possible thanks
- script Sample -1,{
OnInit:
// GM Level X and below will be Restricted
set .GMLevel,99;
// Map Names
setarray .MapList$[0],"e_tower","1@tower","2@tower","3@tower","4@tower","5@tower","6@tower","tha_t01","tha_t02","tha_t03","tha_t04","tha_t05","tha_t06","tha_t07","tha_t08","tha_t09","tha_t10","tha_t11","tha_t12","thana_boss","payg_cas04","aldeg_cas02","prtg_cas01","prtg_cas03","arug_cas05","kh_dun02","1@nyd","2@nyd";
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() <= .GMLevel ){
mes "You are not allow to stay at here.";
close2;
warp "SavePoint",156,191;
break;
}
end;
}