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

Admin Language 0.1a


Post New Thread Reply   
 
Thread Tools Display Modes
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 01-04-2013 , 15:31   Re: Admin Language 0.1a
Reply With Quote #11

Nice
__________________
Groven is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-03-2013 , 14:09   Re: Admin Language 0.1a
Reply With Quote #12

This is not your plugin -> http://www.extreamcs.com/forum/plugi...or-t79220.html 100% identical functions and code, A moderator please trash this topic!
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
xs1der.
Junior Member
Join Date: Dec 2012
Old 02-04-2013 , 21:14   Re: Admin Language 0.1a
Reply With Quote #13

Quote:
Originally Posted by CryWolf View Post
This is not your plugin -> http://www.extreamcs.com/forum/plugi...or-t79220.html 100% identical functions and code, A moderator please trash this topic!
LOL , this is idiot , excuse him
xs1der. is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-05-2013 , 14:05   Re: Admin Language 0.1a
Reply With Quote #14

Quote:
Originally Posted by xs1der. View Post
LOL , this is idiot , excuse him
How is he an idiot?

Do you have any way to prove that this is actually yours?

Afaik taking someone elses work and calling it your own will get you banned here.
__________________
No salvation. Only madness.
P1raten is offline
Kiske
Veteran Member
Join Date: May 2009
Old 02-05-2013 , 17:31   Re: Admin Language 0.1a
Reply With Quote #15

Quote:
Originally Posted by simanovich View Post
--------------------->
PHP Code:
show_hudmessage((get_pcvar_num(cvar_show) ? id:0), "Add in:  bad_admins.txt^nAdmin: %s^nDate: %s^nReason: Unapproved  language",admin_name,atime); 
That doesn't work because this CVAR is 0, 1 or 2, and if is 2 the check return true.
__________________

Kiske is offline
Send a message via Skype™ to Kiske
Ex3cuTioN
Member
Join Date: May 2010
Old 02-06-2013 , 12:23   Re: Admin Language 0.1a
Reply With Quote #16

Can you please stop being so lame?

This idea was firstly made public on Sun June 27, 2010 3:13 am.
Here is the original post on a romanian counter strike forum : http://www.extreamcs.com/forum/plugi...or-t79220.html
And here is the original source
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Limbaj Admini"
#define VERSION "1.0"
#define AUTHOR "Ex3cuTioN"

new const g_FileName[] = "cuvinte.ini";

new 
g_WordsFile[128];
new 
g_Words[64][32], g_Count;

new 
cvar_show;

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say""verifica");
    
register_clcmd("say_team""verifica");
    
register_clcmd("amx_say","verifica");
    
register_clcmd("amx_chat","verifica");
    
register_clcmd("amx_csay","verifica");
    
register_clcmd("amx_tsay","verifica");
    
register_clcmd("amx_psay","verifica");
    
    
cvar_show register_cvar("amx_limbaj_show","2");
}

public 
plugin_cfg()
{
    static 
dir[64];
    
get_localinfo"amxx_configsdir"dir63);
    
formatex(g_WordsFile 127 "%s/%s" dirg_FileName);
    
    if( !
file_exists(g_WordsFile))
        
write_file(g_WordsFile"[]", -1);
        
    new 
Len;
    
    while(
g_Count 64 && read_file(g_WordsFileg_Count ,g_Words[g_Count][ 1], 30Len))
    {
        
g_Words[g_Count][0] = Len;
        
g_Count++;
    }
}

public 
verifica(id)
{
    if(
is_user_admin(id))
    {
        new 
said[192];
        
read_args(said,191);
        
remove_quotes(said);
        
        if(!
strlen(said))
            return 
PLUGIN_CONTINUE;

        new 
i;
            
        for(
0g_Count; ++i)
        {
            if(
containi(saidg_Words[i][1]) !=-1)
            {
                new 
admin_name[32],atime[32],admin_ip[32];
                
get_user_name(id,admin_name,31);
                
get_time("%m.%d.%Y -- %H:%M:%S",atime,53);
                
get_user_ip(id,admin_ip,31);
                    
                new 
szFile[128],szLog[256];
                
get_configsdir(szFile,127);
                
formatex(szFile,127,"%s/admini_rai.txt",szFile);
                    
                if(!
file_exists(szFile))
                {
                    
write_file(szFile,"Adminii care nu au ce cauta pe server",-1);
                    
write_file(szFile,"",-1)
                }
                
                    
                
formatex(szLog,255,"Admin: %s    Data: %s     Chat:%s",admin_name,atime,said);
                    
                
set_task(3.0,"poza",id);
                
                new 
rosu,galben,alb;
                
                
rosu random_num(0,255);
                
galben random_num(0,255);
                
alb random_num(0,255);
        
                
set_hudmessage(rosugalbenalb0.060.3806.010.0)
                
                if(
get_pcvar_num(cvar_show) == 2)
                    
show_hudmessage(0"Adaug in: admini_rai.txt^nAdmin: %s^nData: %s^nMotiv: Limbaj Vulgar",admin_name,atime);
                
                else if(
get_pcvar_num(cvar_show) == 1)
                    
show_hudmessage(id"Adaug in: admini_rai.txt^nAdmin: %s^nData: %s^nMotiv: Limbaj Vulgar",admin_name,atime);
                
                
write_file(szFile,szLog,-1);
            }
        }
    }
    return 
PLUGIN_CONTINUE;
}

public 
poza(idclient_cmd(id,"snapshot"); 
Anyway thank you for forwarding my ideea ^^
Can someone close this topic?
Ex3cuTioN is offline
ROKronoS
Senior Member
Join Date: Oct 2010
Location: Bucharest, Romania
Old 02-06-2013 , 12:27   Re: Admin Language 0.1a
Reply With Quote #17

Trash this topic.The poster is a thief...
ROKronoS is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-06-2013 , 12:36   Re: Admin Language 0.1a
Reply With Quote #18

Quote:
Originally Posted by Ex3cuTioN View Post
Can you please stop being so lame?

This idea was firstly made public on Sun June 27, 2010 3:13 am.
Here is the original post on a romanian counter strike forum : http://www.extreamcs.com/forum/plugi...or-t79220.html
And here is the original source
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Limbaj Admini"
#define VERSION "1.0"
#define AUTHOR "Ex3cuTioN"

new const g_FileName[] = "cuvinte.ini";

new 
g_WordsFile[128];
new 
g_Words[64][32], g_Count;

new 
cvar_show;

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say""verifica");
    
register_clcmd("say_team""verifica");
    
register_clcmd("amx_say","verifica");
    
register_clcmd("amx_chat","verifica");
    
register_clcmd("amx_csay","verifica");
    
register_clcmd("amx_tsay","verifica");
    
register_clcmd("amx_psay","verifica");
    
    
cvar_show register_cvar("amx_limbaj_show","2");
}

public 
plugin_cfg()
{
    static 
dir[64];
    
get_localinfo"amxx_configsdir"dir63);
    
formatex(g_WordsFile 127 "%s/%s" dirg_FileName);
    
    if( !
file_exists(g_WordsFile))
        
write_file(g_WordsFile"[]", -1);
        
    new 
Len;
    
    while(
g_Count 64 && read_file(g_WordsFileg_Count ,g_Words[g_Count][ 1], 30Len))
    {
        
g_Words[g_Count][0] = Len;
        
g_Count++;
    }
}

public 
verifica(id)
{
    if(
is_user_admin(id))
    {
        new 
said[192];
        
read_args(said,191);
        
remove_quotes(said);
        
        if(!
strlen(said))
            return 
PLUGIN_CONTINUE;

        new 
i;
            
        for(
0g_Count; ++i)
        {
            if(
containi(saidg_Words[i][1]) !=-1)
            {
                new 
admin_name[32],atime[32],admin_ip[32];
                
get_user_name(id,admin_name,31);
                
get_time("%m.%d.%Y -- %H:%M:%S",atime,53);
                
get_user_ip(id,admin_ip,31);
                    
                new 
szFile[128],szLog[256];
                
get_configsdir(szFile,127);
                
formatex(szFile,127,"%s/admini_rai.txt",szFile);
                    
                if(!
file_exists(szFile))
                {
                    
write_file(szFile,"Adminii care nu au ce cauta pe server",-1);
                    
write_file(szFile,"",-1)
                }
                
                    
                
formatex(szLog,255,"Admin: %s    Data: %s     Chat:%s",admin_name,atime,said);
                    
                
set_task(3.0,"poza",id);
                
                new 
rosu,galben,alb;
                
                
rosu random_num(0,255);
                
galben random_num(0,255);
                
alb random_num(0,255);
        
                
set_hudmessage(rosugalbenalb0.060.3806.010.0)
                
                if(
get_pcvar_num(cvar_show) == 2)
                    
show_hudmessage(0"Adaug in: admini_rai.txt^nAdmin: %s^nData: %s^nMotiv: Limbaj Vulgar",admin_name,atime);
                
                else if(
get_pcvar_num(cvar_show) == 1)
                    
show_hudmessage(id"Adaug in: admini_rai.txt^nAdmin: %s^nData: %s^nMotiv: Limbaj Vulgar",admin_name,atime);
                
                
write_file(szFile,szLog,-1);
            }
        }
    }
    return 
PLUGIN_CONTINUE;
}

public 
poza(idclient_cmd(id,"snapshot"); 
Anyway thank you for forwarding my ideea ^^
Can someone close this topic?
You might not know this, but you are able to take over this topic and ask for it to be approved since it's your plugin.
__________________
No salvation. Only madness.
P1raten is offline
Ex3cuTioN
Member
Join Date: May 2010
Old 02-07-2013 , 07:46   Re: Admin Language 0.1a
Reply With Quote #19

Well i'm out of bussiness, if I can say so. I don't code anymore, so I won't be able to update this if bugs will occur.

Last edited by Ex3cuTioN; 02-07-2013 at 07:46.
Ex3cuTioN is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-07-2013 , 10:29   Re: Admin Language 0.1a
Reply With Quote #20

Quote:
Originally Posted by Ex3cuTioN View Post
Well i'm out of bussiness, if I can say so. I don't code anymore, so I won't be able to update this if bugs will occur.
Well, you are not forced, I was just saying that you could if you wanted too.
__________________
No salvation. Only madness.
P1raten 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 08:35.


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