Yudax Posted December 9, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 248 Reputation: 7 Joined: 11/27/12 Last Seen: July 21, 2016 Share Posted December 9, 2012 (edited) prontera,147,171,6 script PVP Warper#h2-1::Warpep 967,{ mes "You have ^FF0000"+#CASHPOINTS+" Cash Points^000000."; set .@i,select("Death Match:Battle Room:Guild vs Guild"); warp .MapName$[.@i],0,0; end; OnInit: setarray .MapName$[0],"guild_vs1","guild_vs2","guild_vs3"; end; OnPCDieEvent: set #CASHPOINTS,#CASHPOINTS - 1; dispbottom "Lost 1 Cash Point."; if( strcharinfo(3) == .MapName$[0] || strcharinfo(3) == .MapName$[1] || strcharinfo(3) == .MapName$[2] ){ message strcharinfo(0),"You died and will be revived."; sleep2 500; atcommand "@Alive"; warp .MapName$[0],0,0; } end; OnPCKillEvent: if( strcharinfo(3) == .MapName$[0] || strcharinfo(3) == .MapName$[1] || strcharinfo(3) == .MapName$[2] ){ if( killedrid != getcharid(2) ){ set #CASHPOINTS,#CASHPOINTS+1; dispbottom "Gained 1 Cash Points . Total = "+#CASHPOINTS; } } end; } guild_vs1 mapflag pvp guild_vs2 mapflag pvp guild_vs1 mapflag gvg When i warp to any of the three. The pvp is off And after the person died. It wont warp back to prontera but instead it goes to guild_vs1 Edited December 9, 2012 by jmusc10 Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 9, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 9, 2012 trunk/conf/mapflag/gvg.txt // GvG Arenas ============= guild_vs1 mapflag gvg guild_vs2 mapflag gvg guild_vs3 mapflag gvg guild_vs4 mapflag gvg guild_vs5 mapflag gvg these map are GVG maps by default....you cant set both PVP and GVG mapflag in 1 map.... you have to remove the GVG map..and set the PVP map... Quote Link to comment Share on other sites More sharing options...
Yudax Posted December 9, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 248 Reputation: 7 Joined: 11/27/12 Last Seen: July 21, 2016 Author Share Posted December 9, 2012 Thank you sir. But how to make the person revive at prontera. not on guild_vs1? Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 9, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 9, 2012 remove this if( strcharinfo(3) == .MapName$[0] || strcharinfo(3) == .MapName$[1] || strcharinfo(3) == .MapName$[2] ){ message strcharinfo(0),"You died and will be revived."; sleep2 500; atcommand "@Alive"; warp .MapName$[0],0,0; } Quote Link to comment Share on other sites More sharing options...
Yudax Posted December 9, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 248 Reputation: 7 Joined: 11/27/12 Last Seen: July 21, 2016 Author Share Posted December 9, 2012 (edited) Thank you Sir. SOLVED! Edited December 9, 2012 by jmusc10 Quote Link to comment Share on other sites More sharing options...
Question
Yudax
When i warp to any of the three. The pvp is off
And after the person died. It wont warp back to prontera but instead it goes to guild_vs1
Edited by jmusc10Link to comment
Share on other sites
4 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.