Results 1 to 4 of 4

Thread: [Call Of Duty 2]

  1. #1
    ... connecting
    Join Date
    Apr 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question [Call Of Duty 2] Player name inside newHudElem();

    Hello, Is it possible to get a clients name into an newHudElem();? Or is there any other way to do this?
    Last edited by Anonymuis; 7th April 2014 at 16:00. Reason: ...

  2. #2
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    Yes it is possible, you can use: self.hud SetPlayerNameString(<player>)

  3. The Following User Says Thank You to Jeplaa For This Useful Post:

    kung foo man (7th April 2014)

  4. #3
    ... connecting
    Join Date
    Apr 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is it also possible to use in an (Like get one of the players and put him inside the newHudElem(); (Not an clientHudElem()

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    That should be no problem also ^^
    timescale 0.01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •