Thehookerkiller01 Posted March 23, 2009 Share Posted March 23, 2009 I want to set a number behind a name in the game. Not in the chat, but only in the game. Like Thehookerkiller[0] or Thehookerkiller[1] and to get that from another resource (made self) thx in advance Link to comment
darkdreamingdan Posted March 23, 2009 Share Posted March 23, 2009 You can use getPlayerNameTagText and setPlayerNameTagText in order to do this. Link to comment
robhol Posted March 23, 2009 Share Posted March 23, 2009 Nice idea stealing. Anyways... you'll want to cover either onPlayerSpawn or onPlayerJoin, as well as onPlayerChangeNick - how you get the player IDs is up to you, and the rest is basic lua. Link to comment
Thehookerkiller01 Posted March 24, 2009 Author Share Posted March 24, 2009 Nice idea stealing. Anyways... you'll want to cover either onPlayerSpawn or onPlayerJoin, as well as onPlayerChangeNick - how you get the player IDs is up to you, and the rest is basic lua. Yeah, sorry, but I want that resources also And I'm not a full experienced lua scripter And I can't speak very good English And I don't have a paid server ;p that's the reason why Anway, what do you mean with cover either? And I don't want the ID of some player, only a number. Link to comment
Willy Posted March 24, 2009 Share Posted March 24, 2009 a number like, for example, the wanted level? think of a more original way of doing it... Link to comment
Thehookerkiller01 Posted March 31, 2009 Author Share Posted March 31, 2009 a number like, for example, the wanted level?think of a more original way of doing it... Yeah, sorry, but I can't. Link to comment
Lordy Posted March 31, 2009 Share Posted March 31, 2009 I can. You can always just attach some little gui stars to people. Much like nametags are attached atm. You could even make the design of stars similar to the nametag, so they look as one. And you can remove the stars at HUD, place them elsewhere, millions of possibilities. EDIT: Just a mockup. Btw, quite easily scriptable Link to comment
Thehookerkiller01 Posted March 31, 2009 Author Share Posted March 31, 2009 I can. You can always just attach some little gui stars to people. Much like nametags are attached atm. You could even make the design of stars similar to the nametag, so they look as one. And you can remove the stars at HUD, place them elsewhere, millions of possibilities.EDIT: Just a mockup. Btw, quite easily scriptable Not easy for me.. ;p But also the thing, if you shoot at some1 and you are fare away from the target you only can see his health bar. And if you do this stars you also see his stars. I only want it after the name. That is also a lot easyer for the scoreboard. Link to comment
Thehookerkiller01 Posted April 21, 2009 Author Share Posted April 21, 2009 a number like, for example, the wanted level?think of a more original way of doing it... Ghehe Willy, some kind of that, but not with the wanted level. Just like the 'combat' level. If the level = 1 then there have to be an [1] after his name. Not for the wanted script. And the GTA stars at the HUD are cool ;d Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now