AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change Player Name in Scoreboard (https://forums.alliedmods.net/showthread.php?t=251875)

FromTheFuture 11-21-2014 12:30

Change Player Name in Scoreboard
 
Hi. It is possible to Change Player Name in Scoreboard and in scoreboard only? Maybe wuth Orphey?

kiki33hun 11-21-2014 12:38

Re: Change Player Name in Scoreboard
 
No. Scoreboard is client side, and get the username.

Where do you want to keep the name?

Chat possible to change, name.

FromTheFuture 11-21-2014 12:40

Re: Change Player Name in Scoreboard
 
Quote:

No. Scoreboard is client side, and get the username
Client get a username as string or get userid as integer?
If string I think it is possible to change him using Orphey.

HamletEagle 11-21-2014 12:44

Re: Change Player Name in Scoreboard
 
Quote:

Originally Posted by FromTheFuture (Post 2226759)
Client get a username as string or get userid as integer?
If string I think it is possible to change him using Orphey.

Scoreboard is client side.

kiki33hun 11-21-2014 12:50

Re: Change Player Name in Scoreboard
 
// draw their name (left to right)
gHUD.DrawHudString( xpos, ypos, NAME_RANGE_MAX + xpos_rel, team_info->name, r, g, b );

String

FromTheFuture 11-21-2014 12:57

Re: Change Player Name in Scoreboard
 
Quote:

Originally Posted by HamletEagle (Post 2226760)
Scoreboard is client side.

I asked another question

FromTheFuture 11-21-2014 12:58

Re: Change Player Name in Scoreboard
 
Quote:

Originally Posted by kiki33hun (Post 2226762)
// draw their name (left to right)
gHUD.DrawHudString( xpos, ypos, NAME_RANGE_MAX + xpos_rel, team_info->name, r, g, b );

String

You sure this is the name from scoreboard?

kiki33hun 11-21-2014 13:00

Re: Change Player Name in Scoreboard
 
I said, dont change the scoreboard name.

I think try change name in chat, and other.

FromTheFuture 11-21-2014 13:06

Re: Change Player Name in Scoreboard
 
Player name has sent by server, right? If so...

ddhoward 11-21-2014 13:07

Re: Change Player Name in Scoreboard
 
Quote:

Originally Posted by FromTheFuture (Post 2226771)
Player name has sent by server, right? If so...

You would have to completely rename the player; you can't just change his name on the scoreboard and nowhere else.


All times are GMT -4. The time now is 19:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.