retroflav Posted June 2, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 87 Reputation: 4 Joined: 08/09/12 Last Seen: November 7, 2018 Share Posted June 2, 2013 Hello can I request an Izlude type pvp that will auto resu and auto random warp a player on death and player could only get out the pvp room when he types @die. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 2, 2013 - script pvpresu -1,{ OnInit: set .map$,"pvp_y_1-2"; OnPCDieEvent: if(getmapflag(strcharinfo(3),mf_pvp) == 0) end; if(strcharinfo(3) != .map$) end; dispbottom "You'll be revived in 3 seconds"; sleep2 3000; warp strcharinfo(3),0,0; if(HP == 0) atcommand "@alive"; percentheal 100,100; } Quote Link to comment Share on other sites More sharing options...
Capuche Posted June 2, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted June 2, 2013 - script junion -1,{ OnInit: set .map$,"pvp_y_1-2"; end; OnPCDieEvent: if(strcharinfo(3) != .map$) end; if( !killerrid )// suicide warp "prontera",0,0; else warp strcharinfo(3),0,0; percentheal 100,100; } @Anakid You forgot an end after set .map$,"pvp_y_1-2"; You can remove the unecessary getmapflag since you already defined the map in oninit if(getmapflag(strcharinfo(3),mf_pvp) == 0) end; warp strcharinfo(3),0,0; if(HP == 0) atcommand "@alive"; The hp value of player warped is always 1. Quote Link to comment Share on other sites More sharing options...
retroflav Posted June 3, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 87 Reputation: 4 Joined: 08/09/12 Last Seen: November 7, 2018 Author Share Posted June 3, 2013 (edited) This is such a great help. Thank you! It works finally! Edited June 3, 2013 by retroflav Quote Link to comment Share on other sites More sharing options...
Question
retroflav
Hello can I request an Izlude type pvp that will auto resu and auto random warp a player on death and player could only get out the pvp room when he types @die.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.