Raised This Month: $ Target: $400
 0% 

[REQ]Names were added to the front logo


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
AoD90
Senior Member
Join Date: Jul 2008
Location: Ugljevik/RS/BIH
Old 01-18-2009 , 14:33   Re: [REQ]Name modification
#1

Maby this will work

Code:
#include <amxmodx>
#include <amxmisc>
 
 
new atCustom
 
public plugin_init()
{
        register_plugin("Admin Tag", "1.0", "hleV")
 
        atCustom = register_cvar("at_custom", "[HAPPY] ")
}
 
public client_connect(id)
{
    cmdGiveTag(id)
}

public cmdGiveTag(id)
{
 
        new name[32], tag[32]
 
        get_user_name(id, name, 31)
        get_pcvar_string(atCustom, tag, 31)
 
        if (contain(name, tag))
                client_cmd(id, "name ^"%s%s^"", tag, name)
 
        return PLUGIN_HANDLED 
}
AoD90 is offline
Send a message via MSN to AoD90
Closed Thread



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 01:41.


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