Raised This Month: $7 Target: $400
 1% 

Amxx TagMe


Post New Thread Reply   
 
Thread Tools Display Modes
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 04-29-2014 , 08:29   Re: Amxx TagMe
Reply With Quote #31

The plugin is Incomplete ! You have to add a Cmd for untag + bool to make it easy And Add color for tag
1-Cvar For Enable/Disable Plugin
2-Add Color For tag + Add cvar Enable/disable
3-Add Untag
4- It will be complete !
Spawner30 is offline
Send a message via Skype™ to Spawner30
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-29-2014 , 17:46   Re: Amxx TagMe
Reply With Quote #32

Quote:
Originally Posted by Spawner30 View Post
2-Add Color For tag
He would then have to hook say And say_team to input the coloured tag. Since atm he is using set_user_info native.

If he is able to do this then the colour tag would be great.
__________________
Blizzard_87 is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 04-30-2014 , 06:47   Re: Amxx TagMe
Reply With Quote #33

Quote:
Originally Posted by xxxperts View Post
i m definitely sure that u doing something wrong

No, he's not. Just your plugin is not removing the old tag, but setting the one from the cvar. So, as spawner said, you should include untag option.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 04-30-2014 , 08:01   Re: Amxx TagMe
Reply With Quote #34

Just a Example
PHP Code:
#include <amxmodx>


#define PLUGIN        "Amxx TagMe"
#define VERSION        "1.2"
#define AUTHOR        "[ZOF 'X]"

#define cm(%1)        (sizeof(%1)-1)

new pCvar_Tag,gCvar_Enbable;

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
// Hook For the Cmd
    
register_clcmd("say""Handle");
    
register_clcmd("say_team""Handle");
    
    
// Cvar
    
pCvar_Tag register_cvar("amx_sv_tag""[ZOF 'X] |");
    
gCvar_Enbable register_cvar("amx_tag""1");
}

public 
Handle(id)
{
    if (
get_pcvar_num(gCvar_Enbable))
    {
    static 
szName[33], szTag[16];
    new 
Msg[32]
    
read_args(Msgcharsmax(Msg))
    
remove_quotes(Msg)
    
get_user_name(idszNamecm(szName));
    
get_pcvar_string(pCvar_TagszTagcm(szTag));
          
    
// Make Tag
    
if(equali(Msg"/tagme")) {
        
format(szNamecm(szName), "%s%s"szTagszName);
        
set_user_info(id"name"szName);
        
client_print(idprint_chat"[AMXX] You Have Make a TaG");
         }
    
// Untag    
    
if(equali(Msg"/untag")) {
        
client_print(idprint_chat"[AMXX] You Have Remove Ur TaG!");
        
replace_allszNamecm(szName), szTag"" );
        
set_user_infoid"name"szName );
         }
    }
    return 
PLUGIN_CONTINUE;


Last edited by Spawner30; 04-30-2014 at 08:02.
Spawner30 is offline
Send a message via Skype™ to Spawner30
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-30-2014 , 16:36   Re: Amxx TagMe
Reply With Quote #35

Will you add support for when a player changes there name manually? So the server tag gets re added once player updates there name in console.
__________________
Blizzard_87 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-04-2014 , 02:46   Re: Amxx TagMe
Reply With Quote #36

Unapproved per author request.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Snnoww
New Member
Join Date: Dec 2014
Location: India
Old 12-09-2014 , 04:42   Re: Amxx TagMe
Reply With Quote #37

Is it currently working?
__________________
Snnoww is offline
Reply


Thread Tools
Display Modes

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 03:28.


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