Request script GM cant enter PvP and Woe

rizkiolivia

New member
Messages
47
Points
0
Age
37
Location
Malaysia
Github
rewind-ro
Emulator
Hello anyone can help me. i need a script GM cant enter a pvp room and woe. help me...

if gm enter pvp and woe map gm will kick or out this map. please sir help me.

 
if you have a npc where you should talk with you can try to add something like this.

if(getgmlevel() >= .GM){
warp "prontera", 155, 182; // Sends them to another place.

OnInit:
/* *CONFIG */
set .GM,99; // Group required to reset
/* Set the lvl of gm's that may not enter */


Hope it helped.

 

 
You can do something like this:

OnPCLoadMapEvent:
if(getgmlevel() >= 99)
if(getmapflag(strcharinfo(3), mf_pvp) || getmapflag(strcharinfo(3), mf_gvg))
warp "SavePoint",0,0; // Warp to save point
end;


Also, you have to add mapflag 'loadevent' to all your pvp and gvg maps.

 
Back
Top