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

Auto TAG Name


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 12-21-2014 , 12:38   Auto TAG Name
Reply With Quote #1

- [ Description ] -
When a Player Connected To Server , This Plugin Will Makes Automatically a TAG on His Name.
- [ Screenshot ] -

Code:
#include <amxmodx>

new const g_tag[] = "AMXX | "; // My Example TAG

public plugin_init() {
	register_plugin("Auto Tag Name" , "1.0" , "ZiZox")

}
public client_putinserver(client){
    static szName[32];
    get_user_name(client,szName,charsmax(szName));

    format(szName,charsmax(szName),"%s %s",g_tag,szName);
    set_user_info(client,"name",szName);
}
Attached Files
File Type: sma Get Plugin or Get Source (autotagname.sma - 937 views - 374 Bytes)

Last edited by ZiZox; 12-21-2014 at 12:46.
ZiZox is offline
Send a message via Skype™ to ZiZox
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 12-21-2014 , 13:09   Re: Auto TAG Name
Reply With Quote #2

Gj Nice Plugin Mr. 7izo9x

But 15 line o.O
__________________
Moroccan and proud
Linkin Hisoka is offline
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 12-21-2014 , 13:13   Re: Auto TAG Name
Reply With Quote #3

yep x)
__________________
ZiZox is offline
Send a message via Skype™ to ZiZox
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-21-2014 , 13:22   Re: Auto TAG Name
Reply With Quote #4

What makes this plugin unique from the others that do the same thing?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 12-21-2014 , 13:38   Re: Auto TAG Name
Reply With Quote #5

Even not being slowhack you should ask the client if wants it. Also, you must fix it. If i go console and type:: name Jhob94 or changing it on options, i will lose the tag.

PHP Code:
#include <amxmodx>

new const g_tag[] = "AMXX | "// My Example TAG

public plugin_init() {
    
register_plugin("Auto Tag Name" "1.0" "ZiZox")
}

public 
client_putinserver(clientnick_handle(client)

public 
client_infochanged(clientnick_handle(client)

public 
nick_handle(client) {
    static 
szName[32];
    
get_user_info(id"name"szNamecharsmax(szName)); // You should get info, not name

    
if(containi(nameg_tag) == -1// If player hasn't the Tag
    
{
        
format(szName,charsmax(szName),"%s %s",g_tag,szName);
        
set_user_info(client,"name",szName);
    }

__________________
Jhob94 is offline
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 12-21-2014 , 16:08   Re: Auto TAG Name
Reply With Quote #6

Quote:
Originally Posted by Jhob94
Even not being slowhack you should ask the client if wants it. Also, you must fix it. If i go console and type:: name Jhob94 or changing it on options, i will lose the tag.
Huh , Thank's For Your Information
__________________
ZiZox is offline
Send a message via Skype™ to ZiZox
Shockyboy
Senior Member
Join Date: Apr 2014
Location: Earth
Old 12-22-2014 , 16:09   Re: Auto TAG Name
Reply With Quote #7

Seems to be Slowhacking?
__________________


[ LEARNING SCRIPTING ]
[ ||||||||||||] [ 30% ]
Shockyboy is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 12-22-2014 , 18:08   Re: Auto TAG Name
Reply With Quote #8

Quote:
Originally Posted by Shockyboy View Post
Seems to be Slowhacking?
Isn't really slowhacking because it doesn't changes client settings, it's server side. Yet, doesn't seems something good to do with clients.
__________________
Jhob94 is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 12-23-2014 , 06:08   Re: Auto TAG Name
Reply With Quote #9

U can make this plugin like this When player enter sv he must be asked Whether u want to Wear our Server Tag 1.Yes 2.no if yes It must Tag
tousif is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-23-2014 , 13:44   Re: Auto TAG Name
Reply With Quote #10

Redundant, there are already such kind of plugins, and this would be not enough to be consider as a release anyway.
Please don't release plugins just for the sake of releasing something. Read the rules.
Learn more, then propose quality plugins.

Unapproved.
__________________
Arkshine 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 21:56.


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