Craftplayer{name=iPhysX}

Discussion in 'Plugin Development' started by iPhysX, Apr 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    iPhysX

    I would like to make my upcoming plugin say
    Sorry iPhysX, you don't....
    but it says Sorry Craftplayer{name=iPhysX}.
    i used
    player.SendMessage("Sorry, " + player + "you don't...");
     
  2. Offline

    Crash

    player.getName()
     
  3. Offline

    iPhysX

    Thats what i'm using.
    And thats what it prints out :/

    I really need some help.
    Im trying to print usernames to a file and all its doing is..
    Craftplayer{name=iPhysX}
    whereas i want it to say ONLY iPhysX

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

    Edward Hand

    Crash told you how already.
     
  5. Offline

    iPhysX

    Edit: Sorry about that, i was printing 'sender'
    Thanks
     
  6. Offline

    Edward Hand

    You said you were using:
    Code:
    player.SendMessage("Sorry, " + player + "you don't...");
     
  7. Offline

    iPhysX

    sender.sendMessage();
    thats what i am using
     
Thread Status:
Not open for further replies.

Share This Page