Raised This Month: $ Target: $400
 0% 

fixed/permanent name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Joob
Member
Join Date: Apr 2007
Old 09-12-2013 , 07:11   fixed/permanent name
Reply With Quote #1

Guys.. how fixed name/tag on nick ? I want permanent name/tag..
And I want other option for remove tag..

the code is:

PHP Code:
public RenameNick()
{
    new 
arg[32
    
read_argv(1,arg,31
    new 
player find_player("c",arg//search by authid
    
if (!player)
    {
        
server_print("[amxx] ( %s ) NOT FOUND (rename.amxx)"arg// some small debug message
        
return PLUGIN_HANDLED 
    
}
    new 
tag[32
    
get_cvar_string("amx_rename_tag",tag,31)
    new 
authid[32], name[32]
    
get_user_authid(player,authid,31
    
get_user_name(player,name,31

    if (
containi(name,tag) != -//skip if tag exists allready 
        
return PLUGIN_HANDLED 
         

    
if(get_cvar_num("amx_rename_append"))
        
client_cmd(player"name ^"%%s^""nametag)
    else
        
client_cmd(player"name ^"%%s^""tagname)

    
server_print("[amxx Renamed ^"%s^" due to lack of AntiCheat ( %s )"name,arg
    
client_print(player,print_chat,"[amxx] Your name has been changed because you do not run AntiCheat")

    return 
PLUGIN_HANDLED



Regards,
Joob
__________________
Joob is offline
 



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 18:57.


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