Originally Posted by
storyscape
im trying to make it only the the player can see the opponents arrow not every ones arrow and not his
heres my code
public void startDuel() {
Client other = getClient(duel_with);
RemoveAllWindows();
other.appearanceUpdateRequired = false;
duelFight = true;
toX = 3345+Misc.random(6);
toY = 3251+Misc.random(6);
teleblock = true;
createArrow(10, other.playerId);
the other.player id actually calls to both of them.
i can help, ill edit this thread when i find fix
EDIT*
this might work:
change:
Code:
Client other = getClient(duel_with);
to:
Code:
Client other = (Client) PlayerHandler.players[duel_with];