Jump to content
  • 0

I need PvP room exit npc please.


warbeast

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  05/01/12
  • Last Seen:  

Hello can someone please make me a PvP exit npc? thanks in advance :)))

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  


YOU_PVP_MAP,170,179,3 script PvP EXIT WARPER 497,{

// ==============================================================

set .@n$,"^0000FF[ PvP Exit ]^000000";

// ==============================================================

mes .@n$;

mes "PvP exit ??";

next;

switch(select("Yes!:No!")) {

case 1:

warp "MAIN_TOWN",79,64;

close;

case 2:

mes .@n$;

mes "Okay bye!";

close;

}

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  05/01/12
  • Last Seen:  

Thanks @EL Dragon but i think it's not working xD. I don't know why.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

edit the Position's and the koordinaten

 

YOU_PVP_MAP,170,179,3    script    PvP EXIT WARPER     497,{
 

 and 

warp "MAIN_TOWN",79,64;

 

 

then it goes  /yawn 

 

 

 

//--------------

 

your map server displays the error on the script , but should get no error

Edited by EL Dragon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Just use put this at the end of your pvp warper script

 

//Pvp Exit
<Map>,<x>,<y>,<p>	script	ExitGate	406,{
	warp	"<Map>",<x>,<y>;
}

edit <Map> ,<x>,<y>,<p>

First <Map> for your Pvp Map and the second <Map> is from where you want them to go when they click the npc.
<x>,<y> for your coordinates and <p> for the npc facing position

Edited by NexusXVI
Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...