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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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