Raised This Month: $ Target: $400
 0% 

Help in Script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 11-28-2014 , 05:20   Re: Scripting Help
Reply With Quote #12

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);
    }

__________________

Last edited by hleV; 11-28-2014 at 05:21.
hleV 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 17:37.


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