Raised This Month: $ Target: $400
 0% 

Tag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 09-29-2009 , 13:41   Re: Clan Tag {}
Reply With Quote #1

Teach you how to search? You've got to be joking.

Enter a tag and press search here.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-29-2009 , 14:05   Re: Clan Tag {}
Reply With Quote #2

After searching myself, I was wrong.
I did write several clan tag plugins, but not one for the front and back of the name.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-29-2009 , 14:26   Re: Clan Tag {}
Reply With Quote #3

PHP Code:
#include <amxmodx>

new const PRE_TAG[] = "ICSL_{"
new const POST_TAG[] = "}"

public plugin_init()
{
    
register_plugin("Clan Tag on Join","1.0","Fysiks")
}

public 
client_putinserver(id)
{
    new 
name[33]
    
get_user_name(id,name,32)

    
format(namecharsmax(name), "%s%s%s"PRE_TAGnamePOST_TAG)

    
set_user_info(id"name"name)

The answer to your next question is No (You should know what I'm talking about lol)
__________________
fysiks is offline
lordshiva
BANNED
Join Date: Aug 2009
Location: Heaven
Old 09-30-2009 , 01:44   Re: Clan Tag {}
Reply With Quote #4

Thanks Flysiks i will try this whn i will be @home.....ty
lordshiva is offline
lordshiva
BANNED
Join Date: Aug 2009
Location: Heaven
Old 10-08-2009 , 11:27   Re: Clan Tag {}
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
PHP Code:
#include <amxmodx>

new const PRE_TAG[] = "ICSL_{"
new const POST_TAG[] = "}"

public plugin_init()
{
    
register_plugin("Clan Tag on Join","1.0","Fysiks")
}

public 
client_putinserver(id)
{
    new 
name[33]
    
get_user_name(id,name,32)

    
format(namecharsmax(name), "%s%s%s"PRE_TAGnamePOST_TAG)

    
set_user_info(id"name"name)

The answer to your next question is No (You should know what I'm talking about lol)

If Player ve this tag than dont change......can u edit that for mee
lordshiva is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2009 , 01:28   Re: Clan Tag {}
Reply With Quote #6

PHP Code:
#include <amxmodx>

new const PRE_TAG[] = "ICSL_{"
new const POST_TAG[] = "}"

public plugin_init()
{
    
register_plugin("Clan Tag on Join","1.0","Fysiks")
}

public 
client_putinserver(id)
{
    new 
name[33]
    
get_user_name(id,name,32)
    
    new 
name_len strlen(name)
    if(
name_len < (sizeof(PRE_TAG) + sizeof(POST_TAG)))
    {
        
format(namecharsmax(name), "%s%s%s"PRE_TAGnamePOST_TAG)
        
        
set_user_info(id"name"name)
    }
    else
    {
        new 
name_pre[sizeof(PRE_TAG)], name_post[sizeof(POST_TAG)]
        
copy(name_pre,charsmax(name_pre),name)
        
copy(name_post,charsmax(name_post),name[name_len sizeof(POST_TAG)])
        
        if(!
equal(name_prePRE_TAG) || !equal(name_postPOST_TAG))
        {
            
format(namecharsmax(name), "%s%s%s"PRE_TAGnamePOST_TAG)
            
            
set_user_info(id"name"name)
        }
    }

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
lordshiva
BANNED
Join Date: Aug 2009
Location: Heaven
Old 10-09-2009 , 04:40   Re: Tag {} Flysiks help
Reply With Quote #7

Exolent when i do rcon restart or restart the server frm hlds than name changes to ICSL_{ICSL_{SHIVA}}

Yo the code of Bugsy Worked ty +karma for u

Last edited by lordshiva; 10-09-2009 at 04:45.
lordshiva is offline
meigyoku
BANNED
Join Date: Apr 2009
Old 09-30-2009 , 15:13   Re: Clan Tag {}
Reply With Quote #8

Quote:
Originally Posted by Xellath View Post
Teach you how to search? You've got to be joking.

Enter a tag and press search here.
Moderators should close this topic!
meigyoku is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-30-2009 , 15:38   Re: Clan Tag {}
Reply With Quote #9

Quote:
Originally Posted by meigyoku View Post
Moderators should close this topic!
Why? This isn't even your topic, and the original poster isn't done being helped.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 18:21.


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