Thread: Help in Script
View Single Post
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