Seperate Maps for each Player

Discussion in 'Plugin Development' started by Ahmet094, Jun 28, 2013.

Thread Status:
Not open for further replies.
  1. I've been trying to solve this problem since a few hours now..

    So basically what I'm doing is:

    - give the player a map on command
    - remove the renderers
    - add a new MapRenderer (new class)
    - in this class it renders the name of that player on the map ( via canvas.drawText )

    So my problem is, that if 2 players are holding one of these maps in their hands, their names will lay over each other..
    On executing the command the name is clearly readable, but then it somehow synchronizes and both names are at the same place..
    Every player should get his own unique map, with his name.

    Sorry if I couldn't explain it well, pls ask if there's still something unclear.

    Thanks in advance!

    #let me know if you need code

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  2. Offline

    travja

    I would start a repeating task and in it I would check which player is holding the map when you update it, and name it accordingly
     
Thread Status:
Not open for further replies.

Share This Page