AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Admin Change Users username in game (https://forums.alliedmods.net/showthread.php?t=252184)

sparkie951 11-27-2014 16:51

Admin Change Users username in game
 
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

Oshizu 11-27-2014 17:29

Re: Admin Change Users username in game
 
Isn't that feature already in SourceMod?
Spoiler

sparkie951 11-27-2014 17:36

Re: Admin Change Users username in game
 
Quote:

Originally Posted by Oshizu (Post 2228919)
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.

Drixevel 11-27-2014 17:55

Re: Admin Change Users username in game
 
Quote:

Originally Posted by sparkie951 (Post 2228921)
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"

Wilczek 11-27-2014 18:01

Re: Admin Change Users username in game
 
I believe it doesn't work since names are picked from Steam, not game itself.

sparkie951 11-27-2014 18:13

Re: Admin Change Users username in game
 
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.

ddhoward 11-27-2014 18:33

Re: Admin Change Users username in game
 
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"

sparkie951 11-27-2014 18:52

Re: Admin Change Users username in game
 
Quote:

Originally Posted by ddhoward (Post 2228934)
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.

Wilczek 11-28-2014 01:23

Re: Admin Change Users username in game
 
Quote:

Originally Posted by ddhoward (Post 2228934)
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.

friagram 11-28-2014 04:45

Re: Admin Change Users username in game
 
If you can't setclientinfo to change the name, perhaps it's stored somewhere else. Have you tried messing with the player resource?

sim242 12-02-2014 08:59

Re: Admin Change Users username in game
 
Surely a bypass could be created for this. Custom command to rename a player and then chat listener so that whenever that players name comes up it gets changed to the altered name before the message is sent?

I don't know, something like that maybe haha.


All times are GMT -4. The time now is 05:16.

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