Raised This Month: $ Target: $400
 0% 

[Solved] need help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
popeye10
Senior Member
Join Date: May 2014
Location: Navi Mumbai (India)
Old 08-17-2014 , 09:53   [Solved] need help
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <ColorChat>
#include <dhudmessage>

#define PLUGIN        "TagMe"
#define VERSION        "2.0"
#define AUTHOR        "P"

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

new pCvar_Tag;

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
pCvar_Tag register_cvar("amx_sv_tag""[ D_d ]");
            
    
register_clcmd("say_team /tagme""cmdTagMe");
    
register_clcmd("say /tagme""cmdTagMe");
    
    
set_task(60.0,"Adv",_,_,_,"b"); // 60 seconde
    
}

public 
cmdTagMe(id)
{
    new 
szArg[192];
    
read_args(szArgcharsmax(szArg));
    
remove_quotes(szArg);
    
    static 
szName[33], szTag[16];
    
    
get_user_name(idszNamecm(szName));
    
get_pcvar_string(pCvar_TagszTagcm(szTag));
    
    if(
containi(szNameszTag) != -1)
    {
        
client_print_color(id0"^4[ D_d ] ^3You already Have the Tag !");
        return 
PLUGIN_CONTINUE;
    }
    
    
format(szNamecm(szName), "%s %s"szTagszName);
    
set_user_info(id"name"szName);
    
    return(
szArg[0] == '/');
}

public 
Adv(id)
{
    
set_dhudmessage(01600, -1.00.4401.03.00.20.3false )
    
show_dhudmessage(id"To get [ D_d ] tag, type /tagme")

the adv msg show in middle of display .
but i need to show in top of right cornor & increse dhudmessage size .
thanQ in advance

Last edited by popeye10; 12-10-2014 at 01:10.
popeye10 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 13:20.


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