Raised This Month: $12 Target: $400
 3% 

Help in Script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 11-26-2014 , 06:39   Help in Script
Reply With Quote #1

Code:
#include <amxmodx>

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

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

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

}

new const g_tag[] = {
}

public client_putinserver(client){
    static szName[32];
    get_user_name(client,szName,charsmax(szName));
    
    if(containi(szName, g_tag) != -1)

    format(szName,charsmax(szName),"%s %s",g_tag,szName);
    set_user_info(client,"name",szName);
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang16393\\ f0\\ fs16 \n\\ par }
*/
This is my code and i want to knw hw to add read file from .ini
Code:
new const g_tag[] = { here
}
Because when i add this tag "~=NarC^()~" it shows error because of some simbols so i need a ini file where i can add this tag

Help me plzz
tousif 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 03:53.


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