Raised This Month: $51 Target: $400
 12% 

sm_rename by playercommands.smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sammit92
Member
Join Date: Apr 2010
Old 06-29-2011 , 04:48   sm_rename by playercommands.smx
Reply With Quote #1

Hello.
I tried to use the command sm_rename, but it doesn't work.

It renames a player to a name I typed and renames him back at that moment, so nothing changes.

How to solve the problem?

And how to make this:
in sm_admin menu choose sm_rename command and then type the new name in chat, not rename automatically by plugin(it just interchanges letters)?

Thank you.
Sammit92 is offline
NouveauJoueur
SourceMod Donor
Join Date: May 2009
Old 06-29-2011 , 06:43   Re: sm_rename by playercommands.smx
Reply With Quote #2

I think it's not possible to rename anymore since orangebox update, because now your ingame name is linked to your steam name. (For Counter-Strike: Source at least)
__________________
NouveauJoueur is offline
Ade
I love purple
Join Date: May 2010
Old 06-29-2011 , 08:51   Re: sm_rename by playercommands.smx
Reply With Quote #3

i tried it in hl2dm and worked.. i stayed renamed until i left server (name changed back when joining another server)
i used sm_rename command in hlsw with userid and name and both ways worked
__________________
Ade is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 06-29-2011 , 10:50   Re: sm_rename by playercommands.smx
Reply With Quote #4

Sammit92, what game did you try?

NouveauJoueur, http://forums.alliedmods.net/showthread.php?t=146289
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-29-2011 , 10:50   Re: sm_rename by playercommands.smx
Reply With Quote #5

On DODS it does work till mapchange. But in CSS it doesn't work at all since OBupdate
__________________
micazoid is offline
Sammit92
Member
Join Date: Apr 2010
Old 06-29-2011 , 11:02   Re: sm_rename by playercommands.smx
Reply With Quote #6

Counter-Strike Source. sm_rename doesn't work.

Ok, this extension http://forums.alliedmods.net/showthread.php?t=146289 helped.
In cosole sm_rename playernickname newplayernickname works.
But how to do this way:

Choose in sm_admin menu command sm_rename and then it would ask me to type new name in chat? It would be great. Maybe somebody can help?

Last edited by Sammit92; 06-29-2011 at 11:17.
Sammit92 is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-30-2011 , 06:23   Re: sm_rename by playercommands.smx
Reply With Quote #7

Quote:
Choose in sm_admin menu command sm_rename and then it would ask me to type new name in chat? It would be great. Maybe somebody can help?
Does not work. Only thing that works is to make a predefined list. The Code will be like this:

Code:
"Rename"
{
     "cmd" "sm_rename #1 #2"
     "execute" "player"
     "1"
     {
          "type" "player"
          "method" "name"
          "title" "Player To Rename"
     }
     "2"
     {
          "type" "list"
          "title"  "New Name"
          "1"   "Name1"
          "2"   "Name2"
          "3"   "name3"
     }
}
Of Course you have to change the name1 name2 name3 ^^
__________________
micazoid 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 08:34.


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