Konu

#1
Merhaba, aşağıda attığım fotoğrafta gözüktüğü gibi bir oyuncu argo veya küfürlü bir şey yazdığında aşağıda sansürlü üstte ise normal olarak gözüküyor. Üstte gözüken yazıyı tamamen kaldıracak şekilde düzenler misiniz? 
3mlexbi
.sma chat.sma (Dosya Boyutu: 19,62 KB | İndirme Sayısı: 6)
BlueGaming | 213.238.173.29 Discord
#2
Bu eklentide onunla alakalı bir şey göremedim.Başka chat eklentisi kullanıyorsanız kapatın.
Discord : Lynch#3396 | Steam
#3
Küfür engelleme kullanıyorsanız onu atın.
(- Ücretli Eklenti Yaptırmak İsteyen -)
#4
(03-02-2022, 18:03)suriyelikene Adlı Kullanıcıdan Alıntı: Küfür engelleme kullanıyorsanız onu atın.
PHP Kod:
/* AMX Mod X
*   Admin Chat Plugin
*
* by the AMX Mod X Development Team
*  originally developed by OLO
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation,
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve,
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>
#include <amxmisc>
//#include <dhudmessage>


new g_msgChannel

#define MAX_CLR 11

new g_Colors[MAX_CLR][] = {"COL_WHITE""COL_RED""COL_GREEN""COL_BLUE""COL_YELLOW""COL_MAGENTA""COL_CYAN""COL_ORANGE""COL_OCEAN""COL_MAROON""COL_VISNE"}
new 
g_Values[MAX_CLR][] = {{255255255}, {25500}, {02550}, {00255}, {2552550}, {2550255}, {0255255}, {227968}, {4589116}, {1034438}, {20516118}}
new 
Float:g_Pos[4][] = {{0.00.0}, {0.050.55}, {-1.00.2}, {-1.00.7}}

new 
amx_show_activity;
new 
g_AdminChatFlag ADMIN_CHAT;

public 
plugin_init()
{
    new 
admin_chat_id

    register_plugin
("Admin Chat"AMXX_VERSION_STR"oLo")
    
register_dictionary("adminchat.txt")
    
register_dictionary("common.txt")
    
register_clcmd("say""cmdSayChat"ADMIN_CHAT"@[@|@|@][w|r|g|b|y|m|c]<text> - displays hud message")
    
register_clcmd("say_team""cmdSayAdmin"0"@<text> - displays message to admins")
    
register_concmd("amx_say""cmdSay"ADMIN_CHAT"<message> - sends message to all players")
    
admin_chat_id register_concmd("amx_chat""cmdChat"ADMIN_CHAT"<message> - sends message to admins")
    
register_concmd("amx_psay""cmdPsay"ADMIN_CHAT"<name or #userid> <message> - sends private message")
    
register_concmd("amx_tsay""cmdTsay"ADMIN_CHAT"<color> <message> - sends left side hud message to all players")
    
register_concmd("amx_csay""cmdTsay"ADMIN_CHAT"<color> <message> - sends center hud message to all players")
    
    
amx_show_activity get_cvar_pointer("amx_show_activity");
    
    if (
amx_show_activity == 0)
    {
        
amx_show_activity register_cvar("amx_show_activity""2");
    }

    new 
str[1]
    
get_concmd(admin_chat_idstr0g_AdminChatFlagstr0, -1)
}

public 
cmdSayChat(id)
{
    if (!
access(idg_AdminChatFlag))
    {
        return 
PLUGIN_CONTINUE
    
}
    
    new 
said[6], 0
    read_argv
(1said5)
    
    while (
said[i] == '@')
    {
        
i++
    }
    
    if (!
|| 3)
    {
        return 
PLUGIN_CONTINUE
    
}
    
    new 
message[192], 0
    read_args
(message191)
    
remove_quotes(message)
    
    switch (
said[i])
    {
        case 
'r'1
        
case 'g'2
        
case 'b'3
        
case 'y'4
        
case 'm'5
        
case 'c'6
        
case 'o'7
        
case 'j' 10
        
case 'v' 11
    
}
    
    new 
ni
    
if (a)
    {
        
n++
        
s++
    }
    while (
said[s] && isspace(said[s]))
    {
        
n++
        
s++
    }
    

    new 
name[32], authid[32], userid
    
    get_user_authid
(idauthid31)
    
get_user_name(idname31)
    
userid get_user_userid(id)
    
    
log_amx("Chat: ^"%s<%d><%s><>^" tsay ^"%s^""nameuseridauthidmessage[n])
    
log_message("^"%s<%d><%s><>^" triggered ^"amx_tsay^" (text ^"%s^") (color ^"%L^")"nameuseridauthidmessage[n], "en"g_Colors[a])
    
    if (++
g_msgChannel || g_msgChannel 3)
    {
        
g_msgChannel 3
    
}
    
    new 
Float:verpos g_Pos[i][1] + float(g_msgChannel) / 35.0
    
    set_hudmessage
(g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos06.06.00.50.15, -1)

    switch ( 
get_pcvar_num(amx_show_activity) )
    {
        case 
34:
        {
            new 
maxpl get_maxplayers();
            for (new 
pl 1pl <= maxplpl++)
            {
                if (
is_user_connected(pl) && !is_user_bot(pl))
                {
                    if (
is_user_admin(pl))
                    {
                        
show_dhudmessage(pl"%s :   %s"namemessage[n])
                        
client_print(plprint_notify"%s :   %s"namemessage[n])
                    }
                    else
                    {
                        
show_dhudmessage(pl"%s"message[n])
                        
client_print(plprint_notify"%s"message[n])
                    }
                }
            }
        }
        case 
2:
        {
            
show_dhudmessage(0"%s :   %s"namemessage[n])
            
client_print(0print_notify"%s :   %s"namemessage[n])
        }
        default:
        {
            
show_dhudmessage(0"%s"message[n])
            
client_print(0print_notify"%s"message[n])
        }
    }

    return 
PLUGIN_HANDLED
}

public 
cmdSayAdmin(id)
{
    new 
said[2]
    
read_argv(1said1)
    
    if (
said[0] != '@')
        return 
PLUGIN_CONTINUE
    
    
new message[192], name[32], authid[32], userid
    
new players[32], inum
    
    read_args
(message191)
    
remove_quotes(message)
    
get_user_authid(idauthid31)
    
get_user_name(idname31)
    
userid get_user_userid(id)
    
    
log_amx("Chat: ^"%s<%d><%s><>^" chat ^"%s^""nameuseridauthidmessage[1])
    
log_message("^"%s<%d><%s><>^" triggered ^"amx_chat^" (text ^"%s^")"nameuseridauthidmessage[1])
    
    if (
is_user_admin(id))
        
format(message191"(%L) %s :  %s"id"ADMIN"namemessage[1])
    else
        
format(message191"(%L) %s :  %s"id"PLAYER"namemessage[1])

    
get_players(playersinum)
    
    for (new 
0inum; ++i)
    {
        
// dont print the message to the client that used the cmd if he has ADMIN_CHAT to avoid double printing
        
if (players[i] != id && get_user_flags(players[i]) & g_AdminChatFlag)
            
client_print(players[i], print_chat"%s"message)
    }
    
    
client_print(idprint_chat"%s"message)
    
    return 
PLUGIN_HANDLED
}

public 
cmdChat(idlevelcid)
{
    if (!
cmd_access(idlevelcid2))
        return 
PLUGIN_HANDLED

    
new message[192], name[32], players[32], inumauthid[32], userid
    
    read_args
(message191)
    
remove_quotes(message)
    
get_user_authid(idauthid31)
    
get_user_name(idname31)
    
userid get_user_userid(id)
    
get_players(playersinum)
    
    
log_amx("Chat: ^"%s<%d><%s><>^" chat ^"%s^""nameuseridauthidmessage)
    
log_message("^"%s<%d><%s><>^" triggered ^"amx_chat^" (text ^"%s^")"nameuseridauthidmessage)
    
    
format(message191"(ADMINS) %s :   %s"namemessage)
    
console_print(id"%s"message)
    
    for (new 
0inum; ++i)
    {
        if (
access(players[i], g_AdminChatFlag))
            
client_print(players[i], print_chat"%s"message)
    }
    
    return 
PLUGIN_HANDLED
}

public 
cmdSay(idlevelcid)
{
    if (!
cmd_access(idlevelcid2))
        return 
PLUGIN_HANDLED

    
new message[192], name[32], authid[32], userid
    
    read_args
(message191)
    
remove_quotes(message)
    
get_user_authid(idauthid31)
    
get_user_name(idname31)
    
userid get_user_userid(id)
    
client_print(0print_chat"%L"LANG_PLAYER"PRINT_ALL"namemessage)
    
console_print(id"%L"LANG_PLAYER"PRINT_ALL"namemessage)
    
    
log_amx("Chat: ^"%s<%d><%s><>^" say ^"%s^""nameuseridauthidmessage)
    
log_message("^"%s<%d><%s><>^" triggered ^"amx_say^" (text ^"%s^")"nameuseridauthidmessage)
    
    return 
PLUGIN_HANDLED
}

public 
cmdPsay(idlevelcid)
{
    if (!
cmd_access(idlevelcid3))
        return 
PLUGIN_HANDLED
    
    
new name[32]
    
read_argv(1name31)
    new 
priv cmd_target(idname0)

    if (!
priv)
        return 
PLUGIN_HANDLED
    
    
new length strlen(name) + 1

    get_user_name
(privname31); 
    
    new 
message[192], name2[32], authid[32], authid2[32], useriduserid2
    
    get_user_authid
(idauthid31)
    
get_user_name(idname231)
    
userid get_user_userid(id)
    
read_args(message191)
    
    if (
message[0] == '"' && message[length] == '"'// HLSW fix
    
{
        
message[0] = ' '
        
message[length] = ' '
        
length += 2
    
}
    
    
remove_quotes(message[length])
    
get_user_name(privname31)
    
    if (
id && id != priv)
        
client_print(idprint_chat"(%s) %s :   %s"namename2message[length])
    
    
client_print(privprint_chat"(%s) %s :   %s"namename2message[length])
    
console_print(id"(%s) %s :   %s"namename2message[length])
    
get_user_authid(privauthid231)
    
userid2 get_user_userid(priv)
    
    
log_amx("Chat: ^"%s<%d><%s><>^" psay ^"%s<%d><%s><>^" ^"%s^""name2useridauthidnameuserid2authid2message[length])
    
log_message("^"%s<%d><%s><>^" triggered ^"amx_psay^" against ^"%s<%d><%s><>^" (text ^"%s^")"name2useridauthidnameuserid2authid2message[length])
    
    return 
PLUGIN_HANDLED
}

public 
cmdTsay(idlevelcid)
{
    if (!
cmd_access(idlevelcid3))
        return 
PLUGIN_HANDLED
    
    
new cmd[16], color[16], color2[16], message[192], name[32], authid[32], userid 0
    
    read_argv
(0cmd15)
    new 
bool:tsay = (tolower(cmd[4]) == 't')
    
    
read_args(message191)
    
remove_quotes(message)
    
parse(messagecolor15)
    
    new 
found 00
    
new lang[3], langnum get_langsnum()

    for (new 
0MAX_CLR; ++i)
    {
        for (new 
0langnumj++)
        {
            
get_lang(jlang)
            
format(color215"%L"langg_Colors[i])
            
            if (
equali(colorcolor2))
            {
                
i
                found 
1
                
break
            }
        }
        if (
found == 1)
            break
    }
    
    new 
length found ? (strlen(color) + 1) : 0
    
    
if (++g_msgChannel || g_msgChannel 3)
        
g_msgChannel 3

    
new Float:verpos = (tsay 0.55 0.1) + float(g_msgChannel) / 35.0
    
    get_user_authid
(idauthid31)
    
get_user_name(idname31)
    
userid get_user_userid(id)
    
set_hudmessage(g_Values[a][0], g_Values[a][1], g_Values[a][2], tsay 0.05 : -1.0verpos06.06.00.50.15, -1)

    switch ( 
get_pcvar_num(amx_show_activity) )
    {
        case 
34:
        {
            new 
maxpl get_maxplayers();
            for (new 
pl 1pl <= maxplpl++)
            {
                if (
is_user_connected(pl) && !is_user_bot(pl))
                {
                    if (
is_user_admin(pl))
                    {
                        
show_dhudmessage(pl"%s :   %s"namemessage[length])
                        
client_print(plprint_notify"%s :   %s"namemessage[length])
                    }
                    else
                    {
                        
show_dhudmessage(pl"%s"message[length])
                        
client_print(plprint_notify"%s"message[length])
                    }
                }
            }
            
console_print(id"%s :  %s"namemessage[length])
        }
        case 
2:
        {
            
show_dhudmessage(0"%s :   %s"namemessage[length])
            
client_print(0print_notify"%s :   %s"namemessage[length])
            
console_print(id"%s :  %s"namemessage[length])
        }
        default:
        {
            
show_dhudmessage(0"%s"message[length])
            
client_print(0print_notify"%s"message[length])
            
console_print(id"%s"message[length])
        }
    }

    
log_amx("Chat: ^"%s<%d><%s><>^" %s ^"%s^""nameuseridauthidcmd[4], message[length])
    
log_message("^"%s<%d><%s><>^" triggered ^"%s^" (text ^"%s^") (color ^"%s^")"nameuseridauthidcmdmessage[length], color2)

    return 
PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/ 
Birde bu eklenti mevcut şuan çalışan hocam. Bunda da yoksa böyle bir şey eklenti çıktısını atsam oradan bulma şansınız var mı?

Konu günceldir.

Konu günceldir.
BlueGaming | 213.238.173.29 Discord
Son Düzenleme: 05-02-2022, 17:31, Düzenleyen: burakustunel.
#5
Aktif eklenti listesini atar mısınız ?
(- Ücretli Eklenti Yaptırmak İsteyen -)
#6
(05-02-2022, 19:55)suriyelikene Adlı Kullanıcıdan Alıntı: Aktif eklenti listesini atar mısınız ?
PHP Kod:
Currently loaded plugins:
       name                    version     author            file             status   
 
[  1CSD Guard               v2017       Ömer TELLİ      csd_guard.amxx   running  
 
[  2CSD Yon Config vCore    0.2         Ömer TELLI       csd_yonconfig.a  running  
 
[  3CSDuragi TeamSpeak 3 E  1.0         Omer TELLI        csd_ts3.amxx     running  
 
[  4] -kapali-                2020        Omer Telli        ultimate_rslot.  running  
 
[  5No See Vars             0.1.0       ConnorMcLeod      no_see_vars.amx  running  
 
[  6Multi Engel vCore       0.1         Ömer TELLİ      csd_multiengel.  running  
 
[  7Message Of The Moment   0.9.4       deadBeat    amx_motm.amxx    running  
 
[  8GirisYapti              1.0         By.KinG           GirisYapti_0.am  running  
 
[  9High FPS Detector       1.0         DPCS              ze_fps_siniri.a  running  
 
10Zombie_Revive_Round_St  Premium     By.KinG           spawn_base.amxx  running  
 
11AdminArmor              0.1         LyNcH             Armor_Yetki.amx  running  
 
12MapGuard                1.0         Berk              MapGuard.amxx    running  
 
13unknown                 unknown     unknown           extramenu.amxx   running  
 
14CSM Harita Sistemi [RT  2.0         -CSmiLeFaCe       haritasistemnew  running  
 
15Gelismis Fps            2.0         Desmond*, By.Kin  FPS_Ac.amxx      running  
 
16Admin Base              1.10.0.539  AMXX Dev Team     admin.amxx       running  
 
17Admin Commands          1.8.3-dev+  AMXX Dev Team     admincmd.amxx    running  
 
18Admin Help              1.8.3-dev+  AMXX Dev Team     adminhelp.amxx   running  
 
19Multi-Lingual System    1.8.3-dev+  AMXX Dev Team     multilingual.am  running  
 
20Menus Front-End         1.8.3-dev+  AMXX Dev Team     menufront.amxx   running  
 
21Commands Menu           1.8.3-dev+  AMXX Dev Team     cmdmenu.amxx     running  
 
22Players Menu            1.8.3-dev+  AMXX Dev Team     plmenu.amxx      running  
 
23Maps Menu               1.8.3-dev+  AMXX Dev Team     mapsmenu.amxx    running  
 
24Anti Flood              1.8.3-dev+  AMXX Dev Team     antiflood.amxx   running  
 
25Admin Chat              1.8.3-dev+  AMXX Dev Team     adminchat.amxx   running  
 
26Scrolling Message       1.8.3-dev+  AMXX Dev Team     scrollmsg.amxx   running  
 
27InfoMessages          1.8.3-dev+  AMXX Dev Team     imessage.amxx    running  
 
28Admin Votes             1.8.3-dev+  AMXX Dev Team     adminvote.amxx   running  
 
29Pause Plugins           1.8.3-dev+  AMXX Dev Team     pausecfg.amxx    running  
 
30Stats Configuration     1.10.0.539  AMXX Dev Team     statscfg.amxx    running  
 
31CSD StatsX [S]          3.4         AMXX && CSD Team  statsx.amxx      running  
 
32]  CSDuragi GAG           1.4.9       xPaw Exolent    amx_gag.amxx     running  
 
33CSDuragi Spec Banner    vCore 1.0   Omer TELLI        csd_specbanner.  running  
 
34Say Reklam Engelleyici  0.1         Omer TELLI        csd_reklamengel  running  
 
35Mermi Kontorl           2.0         Ömer TELLİ      mermikontrol.am  running  
 
36UnBanmenu               1           AMX Team          unbanmenu.amxx   running  
 
37CSDM Menu               1.3         Yek'-ta           csd_csdm_menu.a  running  
 [ 38] Amx_Super               1.0         PurposeLess       amx_super2.amxx  running  
 [ 39] 3 Boyut                 0.0.2       CsDuragi          3d.amxx          debug    
 [ 40] GlowMenu                0.1         Tayo              glow_menu.amxx   running  
 [ 41] El Sonu Dans            1.0         suriyelikene      wa_elsonudans.a  running  
 [ 42] No_Fall_Damage_For_Adm  1.0         ConnorMcLeod      No_Fall_Damage_  running  
 [ 43] Death Effect            1.0         Dias Pendragon L  bgolumefekti.am  running  
 [ 44] Naber                   1.0         BugraBey43        AkilliBotV1.amx  running  
 [ 45] Discord Baglantisi      1.0         Yek'
-ta           ze_discord.amxx  running  
 
46Ping Faker              1.4         LockdowN          CSPpingfaker.am  running  
 
47Swear Filter            0.0.3       PurposeLess       SwearFilter.amx  running  
 
48Saat Cvar               1.0         DPCS              ze_cvar_saat_fi  running  
 
49Reklam Panosu           1.3         Yek'-ta           csd_reklampanos  running  
 [ 50] Snieg 2                 2.0         JGHG              kar_yagdirma.am  paused   
 [ 51] CSD Panel Eklentisi     1.2         Omer Telli        csd_panel.amxx   running  
 [ 52] Game Description Degis  1.0         Yek'
-ta           csd_gamename.am  running  
 
53CSDuragi MSList         1.0         Genki             csd_mslist.amxx  running  
 
54GHW Auto Message Displ  2.1         GHW_Chronic       csd_reklam_say.  running  
 
55Zombie Respawn          1.0         suriyelikene      tbasespawnemir.  running  
 
56TimeLeft Extender       0.1a        prodigy           ze_timeleft_ext  running  
 
57Map Spawns Editor       1.0.16      iG_os             ze_spawn_editor  running  
 
58Weapon Model Sound R  1.3         GHW_Chronic       ze_ghw_model.am  running  
 
59] [SCMEntity Editor     1.3.1       schmurgel1983     ze_semiclip_edi  running  
 
60] [SCMTraceline Fix     1.0.0       schmurgel1983     ze_semiclip_tra  running  
 
61] [CSTeam Semiclip      3.1.1       schmurgel1983     ze_teamsemiclip  running  
 
62Level Sistemi           1.0         DPCS              ze_level_sistem  running  
 
63Admin Chat              1.10.0.539  oLo               ze_admin_chat.a  running  
 
64Admin Prefixes          4.0         m0skVi4a ;]       ze_admin_chat2.  running  
 
65Admin_Multi_Jump        2.0         EditBy QuryWesT   ze_admin_ozelli  running  
 
66MG Grab                 2.5         fixed Multipow  ze_grab_yeni.am  running  
 
67Anti DoubleDuck         1.7         Numb              bgantiduck.amxx  running  
 
68Fast Swim Detector      1.0         DPCS*, By.KinG    ze_anti_swim.am  running  
 
69Anti-Bug                1.0         DPCS              ze_heli_antibug  running  
 
70UnPrecacher             0.1         Proo.Noob         ze_precache.amx  running  
 
71Guillotine              1.3         m4m3ts            ze_admin_gui.am  running  
 
72Bicak Sesleri           1.0         DPCS              ze_bicak_ses.am  running  
 
73NadeModes               11.2        Nomexous OT     ze_bomba_modlar  running  
 
74Custom Flashlight       0.5.4       ConnorMcLeod      ze_flashlight.a  running  
 
75Geri Sayim              1.0         DPCS              ze_coutdown.amx  running  
 
76Give Ap                 1.0         DPCS              ze_giveap.amxx   running  
 
77] [ZPAddonZombie HP   0.1         meTaLiCroSS       ze_hp_shower.am  running  
 
78Disable startup MOTD    1.0         Sn!ff3r           ze_giris_motd.a  running  
 
79Oto Config              1.0         DPCS              ze_auto_config.  running  
 
80PUB BOT                 1.0         Fatih EjderYa   ze_pubbot.amxx   running  
 
81Custom Radio Commands   0.6         KaLoSZyFeR        ze_yeni_radio2.  running  
 
82Slay Team               1.0         hleV              ze_slayteam.amx  running  
 
83] /vips                   1.0         DPCS              ze_online_vip.a  running  
 
84] [ZEKirici Gosterim    1.0         Multipower        ze_kirici_goste  running  
 
85Trigger Hurt Block      1.0         DPCS              ze_trigger_cont  running  
 
86Auto Restart vl         1.4         vato loco [GE-S]  ze_oto_restart.  running  
 
87UzaBAN                  1.0         Yek'-ta - Guncel  ze_uzabanmenu.a  running  
 [ 88] [ZE] Heli Button Info   1.0         r0ck              ze_buton_kacis.  running  
 [ 89] AFK_Slay                5.0         By.KinG           bgafkslay.amxx   running  
 [ 90] Extra Item: Frost Nade  1.0         DPCS              ze_extra_buz.am  running  
 [ 91] [ZMO] Extra-Item: Skul  1.0         Mr.Kot3           ze_extra_skull1  running  
 [ 92] Star Chaser AR          1.0         Bim Bim Cay       ze_extra_star_c  running  
 [ 93] [ZP] Extra: Ethereal    1.0         Zombie-Panic      ze_extra_ethere  running  
 [ 94] Rail Cannon             1.0         m4m3ts            Rail.amxx        running  
 [ 95] [ZP] Extra: plasmagun   1.0         Crock             zp_extra_plazma  running  
 [ 96] Janus-7                 1.0         kademik           ze_extra_janus7  running  
 [ 97] unknown                 unknown     unknown           ze_extra_tornad  running  
 [ 98] [ZP] Extra: Lighting E  1.0         Crock / =) (Popr  ze_extra_elf.am  running  
 [ 99] [ZP] Weapon: Bear Fury  1.0         PeTRoX | t3rke/B  ze_extra_bearfu  running  
 [100] [ZP] Weapon: lightning  1.0         0_0; .::Teamfort  ze_extra_lightf  running  
 [101] [ZP] Extra: CSO Weapon  1.0         KORD_12.7         ze_extra_golden  running  
 [102] [ZP] Extra Item: Jump   1.0         Opo4uMapy         ze_extra_bombju  running  
 [103] Zombie Plague           4.3 Fix5a   MeRcyLeZZ         zombie_escape.a  running  
 [104] [ZP] Default Zombie Cl  4.3 Fix5    MeRcyLeZZ         ze_zclass_norma  running  
 [105] NST Zombie Class Tank   1.0.1       NST               ze_zclass_hizli  running  
 [106] NST Zombie Class Heal   1.0         NST               ze_zclass_iyile  running  
 [107] NST Zombie Class Pc     1.0         NST               ze_zclass_psiko  running  
 [108] DJB Zombie Class Banch  1.0.3       Csoldjb&wbyokomo  ze_zclass_cadi.  running  
 [109] [ZP] Class - Ghost      1.3         HoRRoR, Fry!      ze_zclass_lusty  running  
 [110] [ZP] Zombie Class: Zom  0.2         DJHD!             ze_zclass_sting  running  
 [111] [ZE] Zclass - Hunter    0.2b        DJHD!+snaker bea  ze_zclass_hunte  running  
 [112] [ZP] Zombie Class: Loc  1.0         Dias Leon         ze_class_locker  running  
 [113] [ZP] Addon: Infect-Eff  1.0         Dias              ze_enfeksiyon_e  running  
 [114] [ZE] CSO:Nightvision    1.0         DPCS              ze_nightvision.  running  
 [115] Pain Shock Free         1.0.0       Simon Logic       pain_shock_free  running  
 [116] [ZP] Spawn Protection   1.0         DPCS              ze_spawn_protec  running  
 [117] Jeton Menu              1.0         Kalipso22         jeton.amxx       running  
 [118] Diamond Menu            1.0         KadirAydin        diamond_menu.am  running  
 [119] AMMO VER                1.0         DeaDB0Y5          CPVer_v2.amxx    running  
 [120] Give_CP_Round_Start     Premium     By.KinG           Give_CP_Round_S  running  
 [121] Zombie_Freeze           1.0         By.KinG           Zombie_Freeze.a  running  
 [122] CSD Spec Bot            vCore 1.0.  Ömer Telli       fakefull_origin  running  
122 plugins, 121 running 
BlueGaming | 213.238.173.29 Discord
#7
Küfür filtreleme eklentisi kullanıyorsunuz. Adı swearfilter bunu atmalısınız..
(- Ücretli Eklenti Yaptırmak İsteyen -)
#8
(06-02-2022, 01:37)suriyelikene Adlı Kullanıcıdan Alıntı: Küfür filtreleme eklentisi kullanıyorsunuz. Adı swearfilter bunu atmalısınız..
Arkadaşım yüklemiş ben çok dalgınım bu aralar gözümden kaçmış. 
Buyrun; 
PHP Kod:
#pragma semicolon 1

#include <amxmodx>

/*
If you want all people to check by Swear Filter (all admins included), add // to the beginning of the define. If not, set flag.
If you do not want to send warning message to any admin, add // to the beginning to the define. If not, set flag.
E.g. //#define ...
*/
#define ADMIN_IMMUNITY_FLAG    ADMIN_RCON
#define SEND_MESSAGE_FLAG    ADMIN_IMMUNITY

const Max_Swear_Words 150;

enum _:ArrayData {
    
SwearName[Max_Swear_Words],
    
SwearLen
};

new Array:
g_aSwearsList;

/* The original version of Swear Filter
* Author: SuicideDog
* Link: https://forums.alliedmods.net/showthread.php?t=1404
*/
public plugin_init() {
    
register_plugin("Swear Filter""0.0.3""PurposeLess");

    
register_clcmd("say""@clcmd_say");
    
register_clcmd("say_team""@clcmd_sayteam");
}

public 
plugin_precache() {
    new 
szFileName[40];
    
get_localinfo("amxx_configsdir"szFileNamecharsmax(szFileName));
    
add(szFileNamecharsmax(szFileName), "/swear_filter.ini");

    if(!
file_exists(szFileName)) {
        
log_amx("%s file does not exist. Swear Filter is down."szFileName);
        
pause("d");
        return;
    }

    
g_aSwearsList ArrayCreate(ArrayData);

    new 
iFile fopen(szFileName"r");

    if(
iFile) {
        new 
szBuffer[Max_Swear_Words], szData[ArrayData];

        while(!
feof(iFile)) {
            
fgets(iFileszBuffercharsmax(szBuffer));
            
trim(szBuffer);

            if(
szBuffer[0] == ';' || !szBuffer[0]) {
                continue;
            }

            
szData[SwearName] = szBuffer;
            
szData[SwearLen] = strlen(szBuffer);

            
ArrayPushArray(g_aSwearsListszData);
        }
        
fclose(iFile);
    }
}

@
clcmd_say(const pPlayer) {
    return 
SwearFilter(pPlayerfalse);
}

@
clcmd_sayteam(const pPlayer) {
    return 
SwearFilter(pPlayertrue);
}

bool:SwearFilter(const pPlayer, const blSayTeam) {
    
#if defined ADMIN_IMMUNITY_FLAG
    
if(get_user_flags(pPlayer) & ADMIN_IMMUNITY_FLAG) {
        return 
false;
    }
    
#endif

    
new szArg[MAX_FMT_LENGTH];
    
read_args(szArgcharsmax(szArg));

    new 
szData[ArrayData], bool:blFoundiCountiContaini;

    new 
iSize ArraySize(g_aSwearsList);
    while(
iCount iSize) {
        
ArrayGetArray(g_aSwearsListiCountszData);

        if((
iContaini containi(szArgszData[SwearName])) != -1) {
            while(
szData[SwearLen]--) {
                
szArg[iContaini++] = '*';
            }
            
blFound true;
            continue;
        }
        
iCount++;
    }

    if(
blFound) {
        
console_cmd(pPlayer"%s %s"blSayTeam "say_team" "say"szArg);

        
#if defined SEND_MESSAGE_FLAG
        
read_args(szArgcharsmax(szArg));
        for(new 
id 1id <= MaxClientsid++) {
            if(
is_user_connected(id) && get_user_flags(id) & SEND_MESSAGE_FLAG) {
                
remove_quotes(szArg);
                
client_print_color(idprint_team_grey"^4[!] ^3%n: %s"pPlayerszArg);
            }
        }
        
#endif
        
return true;
    }
    return 
false;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/ 
BlueGaming | 213.238.173.29 Discord
#9
başına // koyun
Kod:
#define SEND_MESSAGE_FLAG    ADMIN_IMMUNITY
(- Ücretli Eklenti Yaptırmak İsteyen -)
#10
(06-02-2022, 01:40)suriyelikene Adlı Kullanıcıdan Alıntı: başına // koyun
Kod:
#define SEND_MESSAGE_FLAG    ADMIN_IMMUNITY
Teşekkür ederim.
BlueGaming | 213.238.173.29 Discord

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Benzer Konular

6
Yorum
519
Okunma
26-05-2022, 16:36
4
Yorum
159
Okunma
25-05-2022, 03:08
5
Yorum
212
Okunma
24-05-2022, 00:34
4
Yorum
130
Okunma
23-05-2022, 23:15
4
Yorum
262
Okunma
22-05-2022, 15:37
5
Yorum
220
Okunma
21-05-2022, 17:06
Task
Kayıt Ol
Discord Adresimize Katılın