Jump to content
  • 0
Sign in to follow this  
davidpaceway

Duel Arena 1vs1

Question

-fixed thanks skillerx Edited by davidpaceway

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Add this into player.java

[code]public transient int DuelTarget = -1;[/code]

Into PlayerPacketHandler
[code] if(p.DuelTarget != p.getIndex()) {
p.getActionSender().sendMessage("This isnt your target!");
return;
}[/code] Figure out the rest.

Share this post


Link to post
Share on other sites
  • 0
[quote name='SkrilleX']Add this into player.java

[code]public transient int DuelTarget = -1;[/code]

Into PlayerPacketHandler
[code] if(p.DuelTarget != p.getIndex()) {
p.getActionSender().sendMessage("This isnt your target!");
return;
}[/code] Figure out the rest.[/QUOTE]

......wooowww I cannot believe I didn't notice that thanks

Share this post


Link to post
Share on other sites
  • 0
[quote name='davidpaceway']......wooowww I cannot believe I didn't notice that thanks[/QUOTE]
No problem, hope it goes well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×