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

Search a Plugin to Change nick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sunshine live
Veteran Member
Join Date: May 2009
Location: Berlin
Old 04-07-2013 , 09:45   Search a Plugin to Change nick
Reply With Quote #1

Hello, I'm looking for a plugin that does the name change on the server automatically ..
for example if a player on the server and the joint name change immediately ...

Sorry for my bad english..

German:
Hallo, ich such ein Plugin der die namen auf dem Server automatisch ändern tut..
zum beispiel wenn ein Player auf dem Server Joint und der name sich sofort ändern...
__________________
Sunshine live is offline
Send a message via ICQ to Sunshine live Send a message via MSN to Sunshine live Send a message via Skype™ to Sunshine live
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-07-2013 , 10:55   Re: Search a Plugin to Change nick
Reply With Quote #2

Sorry, but I don't understand what you want.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
c4mp3R
Junior Member
Join Date: Sep 2012
Old 04-07-2013 , 11:06   Re: Search a Plugin to Change nick
Reply With Quote #3

PHP Code:
#include < amxmodx >
 
#define PLUGIN "Name Change"
#define VERSION "1.0"
#define AUTHOR "c4mp3R"

#define TAG "AMXX"

new bool:has_tag33 ];
       
public 
plugin_init( ) {
    
register_pluginPLUGINVERSIONAUTHOR )
}
public 
client_putinserverid )
{
    
settagid )
}
public 
settagid )
{
    if( !
has_tagid ] )
    {        
        static 
szName32 ]
        
get_user_infoid"name"szNamecharsmaxszName ) )
        
        if( 
containszNameTAG ) != -)
        {
            
has_tagid ] = true
            
            
return;
        }
        
        static 
szNewName32 ]
        
formatexszNewNamecharsmaxszNewName ), "%s %s"TAGszName )
        
        
set_user_infoid"name"szNewName )
    }

PHP Code:
#define TAG "AMXX" 

PHP Code:
#define TAG "Your Tag" 
c4mp3R is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 04-07-2013 , 12:41   Re: Search a Plugin to Change nick
Reply With Quote #4

Quote:
Originally Posted by wickedd View Post
Sorry, but I don't understand what you want.
He searches a plugin which changes auto. a players Name if his name is "Player" etc.
__________________
Kia is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-07-2013 , 14:10   Re: Search a Plugin to Change nick
Reply With Quote #5

Quote:
Originally Posted by Kia View Post
He searches a plugin which changes auto. a players Name if his name is "Player" etc.
Well if that's what he want, he should search for "Restrict Names".
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Sunshine live
Veteran Member
Join Date: May 2009
Location: Berlin
Old 04-09-2013 , 09:10   Re: Search a Plugin to Change nick
Reply With Quote #6

Thanks to themselves great but unfortunately the plugin does unfortunately all names.
But I wanted it only changes the name of "players" ..
Can you set it so?
Sorry for my bad english..

German:
Danke an sich echt gut aber leider ändert das Plugin leider alle namen.
Aber ich wollte das es nur den namen von "playern" ändert..
Kann man das so einstellen?

So it looks at the moment
Code:
#include < amxmodx >
 
#define PLUGIN "Name Change"
#define VERSION "1.0"
#define AUTHOR "c4mp3R"

#define TAG "I love cs4ever"

new bool:has_tag[ 33 ];
       
public plugin_init( ) {
    register_plugin( PLUGIN, VERSION, AUTHOR )
}
public client_putinserver( id )
{
    settag( id )
}
public settag( id )
{
    if( !has_tag[ id ] )
    {        
        static szName[ 32 ]
        get_user_info( id, "name", szName, charsmax( szName ) )
        
        if( contain( szName, TAG ) != -1 )
        {
            has_tag[ id ] = true
            
            return;
        }
        
        static szNewName[ 32 ]
        formatex( szNewName, charsmax( szNewName ), "%s %s", TAG, szName )
        
        set_user_info( id, "name", szNewName )
    }
}
__________________

Last edited by Sunshine live; 04-09-2013 at 09:12.
Sunshine live is offline
Send a message via ICQ to Sunshine live Send a message via MSN to Sunshine live Send a message via Skype™ to Sunshine live
Old 04-09-2013, 09:17
Kia
This message has been deleted by YamiKaitou. Reason: English Only
Old 04-09-2013, 10:13
Sunshine live
This message has been deleted by YamiKaitou. Reason: English Only
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-09-2013 , 11:27   Re: Search a Plugin to Change nick
Reply With Quote #7

Quote:
Originally Posted by wickedd View Post
search for "Restrict Names".
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 10:43.


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