Raised This Month: $ Target: $400
 0% 

Admin Change Users username in game


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sparkie951
Member
Join Date: Jul 2014
Old 11-27-2014 , 16:51   Admin Change Users username in game
Reply With Quote #1

For in game, when you have a user with an inappropriate name, could someone create a mod that will allow the ADMIN to change a users name while they are in the game? This would be good for when you have users with inappropriate or offensive names. I have found automatic name changers, but not one that an admin can control on the fly.

Thanks
Sparkie
sparkie951 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 11-27-2014 , 17:29   Re: Admin Change Users username in game
Reply With Quote #2

Isn't that feature already in SourceMod?
Spoiler
__________________
...

Last edited by Oshizu; 11-27-2014 at 17:30.
Oshizu is offline
sparkie951
Member
Join Date: Jul 2014
Old 11-27-2014 , 17:36   Re: Admin Change Users username in game
Reply With Quote #3

Quote:
Originally Posted by Oshizu View Post
Isn't that feature already in SourceMod?
Spoiler
Did not see that command before, I did try that, but it says it worked, but it did not (in Insurgency).

I renamed myself Example from user1 to user2

rename user1 user2

it said user 1 renamed to user2

When looking at the users list it still shows as user 1 and no reference to user2.
sparkie951 is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 11-27-2014 , 17:55   Re: Admin Change Users username in game
Reply With Quote #4

Quote:
Originally Posted by sparkie951 View Post
Did not see that command before, I did try that, but it says it worked, but it did not (in Insurgency).

I renamed myself Example from user1 to user2

rename user1 user2

it said user 1 renamed to user2

When looking at the users list it still shows as user 1 and no reference to user2.
Try with quotes and see if that fixes it.

Code:
sm_rename "user 1" "user 2"
Drixevel is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 11-27-2014 , 18:01   Re: Admin Change Users username in game
Reply With Quote #5

I believe it doesn't work since names are picked from Steam, not game itself.
__________________
Wilczek is offline
sparkie951
Member
Join Date: Jul 2014
Old 11-27-2014 , 18:13   Re: Admin Change Users username in game
Reply With Quote #6

It seems if that is the case, that SM command is pretty much useless on all steam games. Thanks for the note on that... Just have to kick or ban the names listed accordingly then... Was going to do it the nice way.
sparkie951 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 11-27-2014 , 18:33   Re: Admin Change Users username in game
Reply With Quote #7

sm_rename works just fine on TF2, and should work on pretty much any other game that SM supports.

Note that the command is "sm_rename" and not just "rename"
__________________

Last edited by ddhoward; 11-27-2014 at 18:35.
ddhoward is offline
sparkie951
Member
Join Date: Jul 2014
Old 11-27-2014 , 18:52   Re: Admin Change Users username in game
Reply With Quote #8

Quote:
Originally Posted by ddhoward View Post
sm_rename works just fine on TF2, and should work on pretty much any other game that SM supports.

Note that the command is "sm_rename" and not just "rename"
I wish it worked in Insurgency! Oh well.. that is the way it goes.
sparkie951 is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 11-28-2014 , 01:23   Re: Admin Change Users username in game
Reply With Quote #9

Quote:
Originally Posted by ddhoward View Post
sm_rename works just fine on TF2, and should work on pretty much any other game that SM supports.

Note that the command is "sm_rename" and not just "rename"
It doesn't work in CSGO. When you pass it, client changes name and then it immediately reverts back.

F.e.: You rename client "1" to "2", and in the same second he's "1" again.
__________________
Wilczek is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-28-2014 , 04:45   Re: Admin Change Users username in game
Reply With Quote #10

If you can't setclientinfo to change the name, perhaps it's stored somewhere else. Have you tried messing with the player resource?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:35.


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