Raised This Month: $32 Target: $400
 8% 

Help With Script


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 11-28-2014 , 07:17   Help With Script
Reply With Quote #1

PHP Code:
#include <amxmodx>

#define PLUGIN "Tagger"
#define VERSION "1.0"
#define AUTHOR "Gullu Bhai"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

new const 
g_tag[] = "~=NarC^^()~";

public 
client_putinserver(client){
    static 
szName[32];
    
get_user_name(client,szName,charsmax(szName)) ;

    if (
contain(szNameg_tag) != 0// Check if tag starts at beginning of name.
    
{
        
format(szName,charsmax(szName),"%s %s",g_tag,szName);
        
set_user_info(client,"name",szName);
    }

hw can i add one more tag to ignore here -->
Code:
  if (contain(szName, g_tag) != 0) // Check if tag starts at beginning of name. 


If that tag also exist ignore like i need to add 4 tags to ignore

plzz help me in this sir
tousif 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 19:16.


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