Jump to content
  • 0
Sign in to follow this  
rizkiolivia

Request script GM cant enter PvP and Woe

Question

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.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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.

 

 

 

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.