Results 1 to 2 of 2
  1. #1
    TexMexReks's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    MCP - Getting player coordinates and showing on screen.

    I always get a NullPointerException trying to do this no matter what way.

    I am using the latest version of MCP (9.18 I believe)

    Code: (Example of the many diffrent ways I have tried)
    Code:
    drawString(Minecraft.getMinecraft().fontRendererObj, " - X: " + String.valueOf(Math****und(mc.thePlayer.posX)), 4, 24, 0xffffffff);
    The client starts up, and can start loading a world but crashes when the world is almost loaded.

    Please help thanks
    Last edited by TexMexReks; 04-06-2016 at 02:45 PM.

  2. #2
    Nik's Avatar
    Join Date
    May 2015
    Gender
    male
    Location
    world_the_end
    Posts
    2,521
    Reputation
    149
    Thanks
    1,069
    My Mood
    Angelic
    OP hasn't replied in 2 days. Assuming solved

Similar Threads

  1. Can someone help me to get a mod menu to xbox one and show me how i use
    By juhlcontrol in forum Grand Theft Auto 5 (GTA V) Help
    Replies: 1
    Last Post: 12-28-2015, 12:38 AM
  2. [Solved] Crossfire Europe wont show login screen and closes
    By gery453 in forum CrossFire Help
    Replies: 1
    Last Post: 01-17-2015, 02:57 PM
  3. [Solved] how to get rid of player names and shit in replay mode?
    By daboi22 in forum CrossFire Help
    Replies: 1
    Last Post: 04-16-2013, 11:54 PM
  4. [Solved] How To Get A Players Coordinates MP
    By NyskLin3 in forum Minecraft Help
    Replies: 4
    Last Post: 08-22-2012, 01:20 AM
  5. Replies: 3
    Last Post: 07-16-2011, 11:26 PM