AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] My TagMe Code Not Working :( (https://forums.alliedmods.net/showthread.php?t=252838)

priyojit 12-10-2014 05:21

[HELP] My TagMe Code Not Working :(
 
PHP Code:

#include <amxmodx> 
#include <ColorChat> 
#include <dhudmessage> 

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

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

new pCvar_Tag

public 
plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR); 
     
    
pCvar_Tag register_cvar("amx_sv_tag""-=|[K[G]C]|=- |"); 
             
    
register_clcmd("say_team /tagme""cmdTagMe"); 
    
register_clcmd("say /tagme""cmdTagMe"); 
     
    
set_task(60.0,"Adv",_,_,_,"b"); // 60 seconds
     


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[ ^1-=|[K[G]C]|=- ^4] ^3You already Have the Tag ^1!"); 
        return 
PLUGIN_CONTINUE
    } 
     
    
format(szNamecm(szName), "%s %s"szTagszName); 
    
set_user_info(id"name"szName); 
     
    return(
szArg[0] == '/'); 


public 
Adv(id

    
set_dhudmessage(016000.01.001.08.00.20.3false 
    
show_dhudmessage(id"To get -=|[K[G]C]|=- tag^nType /tagme")



indraraj striker 12-10-2014 06:08

Re: [HELP] My TagMe Code Not Working :(
 
bot change the author name and plugin name rofl xD

real author zfox !!


https://forums.alliedmods.net/showthread.php?t=233059

Post in plugin thread.

priyojit 12-10-2014 06:21

Re: [HELP] My TagMe Code Not Working :(
 
Quote:

Originally Posted by indraraj striker (Post 2233322)
bot change the author name and plugin name rofl xD

real author zfox !!


https://forums.alliedmods.net/showthread.php?t=233059

Post in plugin thread.

I updated and put hud messages But Not Working :cry:

indraraj striker 12-10-2014 06:36

Re: [HELP] My TagMe Code Not Working :(
 
Quote:

Originally Posted by priyojit (Post 2233329)
I updated and put hud messages But Not Working :cry:

-_- working for me
check screenshot

https://www.sendspace.com/file/83kolh

ps: dont change real author name of plugin !! whatever you edited just give him credit for it


All times are GMT -4. The time now is 15:20.

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