Yudax Posted December 9, 2012 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
Emistry Posted December 9, 2012 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
Yudax Posted December 9, 2012 Author Posted December 9, 2012 Thank you sir. But how to make the person revive at prontera. not on guild_vs1? Quote
Emistry Posted December 9, 2012 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
Yudax Posted December 9, 2012 Author Posted December 9, 2012 (edited) Thank you Sir. SOLVED! Edited December 9, 2012 by jmusc10 Quote
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 jmusc104 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.