Reklam gösterimini engelleyici yazılım kullandığınızı görüyoruz.
Sitemizin ayakta kalıp sizlere hizmet edebilmek için en büyük gelir kaynağı sayfamızda gösterilen reklamlardır.
Reklam gösterimde bizim sayfamıza ayrıcalık tanıyarak ayakta kalmamıza destek olmak ister misiniz ?

Silinmiş Konu   | steam chat eklentisi sorunn

Konu

#1
Son Düzenleme: 15-09-2019, Saat: 10:32, Düzenleyen: rexluca.
Merhaba steam chat eklentimde Ölü olanların yanında DEAD ve OLU yazmamakta 
Birde b yetkisine C.oyuncusu tagı yapıldı bunuda r yetkisi ile değiştirip Clan Oyuncusu şeklinde yazmanızı istiyorum
Şimdiden teşekkürler. 

(15-09-2019, Saat: 10:18)By.KinG Adlı Kullanıcıdan Alıntı: Attığınız eklenti skor sıfılama eklentisi.
Düzelltim kardeşim kusura bakma


.sma steamchatt.sma (Dosya Boyutu: 6.22 KB | İndirme Sayısı: 4)
#2
Buyur;
PHP Kod:
/**
*    Bu eklentinin geli?tirilmi? hali Yek'-ta'ya aittir.
*    Original plugin; https://forums.alliedmods.net/showthread.php?t=56825?t=56825
*    Edited for steam tag by Yek'-ta
*/

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define VERSION "Yek'-ta"

native csd_checkuserac(id)
    
new 
COLCHAR[3][2] = { "^x03""^x04""^x01" }
new 
p_namecol
new alv_sndralv_str2[26], alv_str4[101]
new 
msg[200]
#define cm(%0)    ( sizeof(%0) - 1 )
public col_changermsg_idmsg_destrcvr )
{
    new 
str2[26]
    
get_msg_arg_string2str225 )
    if( 
equalstr2"#Cstrike_Chat"13 ) )
    {
        new 
str3[22]
        
get_msg_arg_string3str321 )
        
        if( !
strlenstr3 ) )
        {
            new 
str4[101]
            
get_msg_arg_string4str4100 )
            new 
sndr get_msg_arg_int)
            
            new 
bool:is_team_msg = !bool:equalstr2"#Cstrike_Chat_All"17 )
            
            new 
sndr_team get_user_teamsndr )
            new 
bool:is_sndr_spec = !bool:( sndr_team )
            
            new 
namecol clampget_pcvar_num(p_namecol), 0)
            
            new 
bool:same_as_last bool:( alv_sndr == sndr && equalalv_str2str2 ) && equalalv_str4str4) )
            
            if( !
same_as_last )
            {
                
                
                if( !( 
is_team_msg && ( is_sndr_spec || is_team_msg) ) )
                {
                    new 
flags[5], team[10]
                    if( 
is_user_alivesndr ) ) flags "bc"
                    
else flags "ac"
                    
                    
if( is_team_msg )
                    {
                        
addflags[strlenflags )], 4"e" )
                        if( 
sndr_team == team "TERRORIST"
                        
else team "CT"
                    
}
                    
                    new 
players[32], num
                    get_players
playersnumflagsteam )
                    if( 
get_user_flagssndr ) & ADMIN_RESERVATION)
                        
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
                    else 
buildmsgsndris_sndr_specis_team_msgsndr_team0str4 )
                    
                    for( new 
i=0numi++ )
                    {
                        if(
is_user_alive(players[i]) && get_user_flagsplayers[i] ) & ADMIN_RESERVATION || !is_user_alive(players[i])){
                            
message_beginMSG_ONEget_user_msgid"SayText" ), _players[i] )
                            
write_bytesndr )
                            
write_stringmsg )
                            
message_end()
                        }
                    }
                    
                }
                
                
alv_sndr sndr
                alv_str2 
str2
                alv_str4 
str4
                
if( task_exists411 ) ) remove_task411 )
                
set_task0.1"task_clear_antiloop_vars"411 )
                
            }
            
            if( !
same_as_last buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
            
            if(!(
str4[0] == '.' || str4[0] == '/' || str4[0] == '!')){
                
set_msg_arg_string2msg )
                
set_msg_arg_string4"" )
            }
            else {
                return 
PLUGIN_HANDLED;
            }
            
        }
    }
    return 
PLUGIN_CONTINUE
}

public 
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4[ ] )
{
    new 
sndr_name[33]
    
get_user_namesndrsndr_name32 )
    
    new 
prefix[32] = "^x01"
    
new flags get_user_flags(sndr);
    new 
alive is_user_alive(sndr);
    if(
alive){
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Kurucu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Kurucu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Captan] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Captan] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Captan] ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Yonetim] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Yonetim] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Yonetim] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Admin] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Admin] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Admin] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Clan Oyuncusu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Clan Oyuncusu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[C.Oyuncusu] ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x04[Steam+] ^x01"
                
}
                else {
                    
prefix "^x04[Steam] ^x01"
                
}
                
            }
            else{
                
prefix "^x01"
            
}
        }
    }
    else {
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Kurucu] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Kurucu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Captan] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Captan] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Captan] ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Yonetim] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Yonetim] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Yonetim] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Admin] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Admin] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Admin] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Clan Oyuncusu] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Clan Oyuncusu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[C.Oyuncusu] ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x01(OLU)^x04[Steam+] ^x01"
                
}
                else {
                    
prefix "^x01(OLU)^x04[Steam] ^x01"
                
}
                
            }
            else{
                
prefix "^x01(OLU)^x01"
            
}
        }
    }
    if( 
is_sndr_spec addprefix[strlen(prefix)-1], 29"¤" )
    else if( !
is_user_alivesndr ) ) addprefix[strlen(prefix)-1], 29"×" )
        
    
    if( 
is_team_msg )
    {
        if( 
is_sndr_spec prefix "^x01(Spec) "
        
else if( sndr_team == addprefix[strlen(prefix)-1], 29"(TE)" )
            else if( 
sndr_team == addprefix[strlen(prefix)-1], 29"(CT)" )
        }
    if(
is_user_admin(sndr)){
        
formatmsg199"%s%s%s :  ^x04%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
        
    }
    else{
        
formatmsg199"%s%s%s :  ^x01%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
    }
    return 
PLUGIN_HANDLED
}

public 
task_clear_antiloop_vars( )
{
    
alv_sndr 0
    alv_str2 
""
    
alv_str4 ""
    
return PLUGIN_HANDLED
}
public 
plugin_init( )
{
    
register_plugin("SteamCHAT",VERSION,"Ian Cammarata"//Edited Yek'-ta
    
    
    
register_cvar("R-STEAM",VERSION,FCVAR_SERVER)
    
    
p_namecol register_cvar"csm_namecolor""0" )
    
    
register_messageget_user_msgid("SayText"), "col_changer" )
}

stock bool:is_user_steam(id)
{
    static 
dp_pointer;
    
    if(
dp_pointer || (dp_pointer get_cvar_pointer("dp_r_id_provider")))
    {
        
server_cmd("dp_clientinfo %d"id);
        
server_exec();
        return (
get_pcvar_num(dp_pointer) == 2) ? true false;
    }
    
    new 
szAuthid[34];
    
get_user_authid(idszAuthidcharsmax(szAuthid));
    
    return (
containi(szAuthid"LAN") < 0);




Pouex(Görkem Bacısısikişenoğlu)'in anasını götünden sikeyim.
Emirhan SkürtSkürt seninde ananı sikicem sıradasın.
Dediğim gibi ferudun ve berke lafım yok.
forum.csduragi.com
#3
Son Düzenleme: 15-09-2019, Saat: 15:53, Düzenleyen: rexluca.
Kardeşim r harfinin yeşil yazmasını istemiyorum ve Olu oyuncuların mesajı steamdan önce çıkıyor (OLU) sonra çıkmasını istiyorum.

(15-09-2019, Saat: 14:01)Aconyonn Adlı Kullanıcıdan Alıntı: Buyur;
PHP Kod:
/**
*    Bu eklentinin geli?tirilmi? hali Yek'-ta'ya aittir.
*    Original plugin; https://forums.alliedmods.net/showthread.php?t=56825?t=56825
*    Edited for steam tag by Yek'-ta
*/

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define VERSION "Yek'-ta"

native csd_checkuserac(id)
    
new 
COLCHAR[3][2] = { "^x03""^x04""^x01" }
new 
p_namecol
new alv_sndralv_str2[26], alv_str4[101]
new 
msg[200]
#define cm(%0)    ( sizeof(%0) - 1 )
public col_changermsg_idmsg_destrcvr )
{
    new 
str2[26]
    
get_msg_arg_string2str225 )
    if( 
equalstr2"#Cstrike_Chat"13 ) )
    {
        new 
str3[22]
        
get_msg_arg_string3str321 )
        
        if( !
strlenstr3 ) )
        {
            new 
str4[101]
            
get_msg_arg_string4str4100 )
            new 
sndr get_msg_arg_int)
            
            new 
bool:is_team_msg = !bool:equalstr2"#Cstrike_Chat_All"17 )
            
            new 
sndr_team get_user_teamsndr )
            new 
bool:is_sndr_spec = !bool:( sndr_team )
            
            new 
namecol clampget_pcvar_num(p_namecol), 0)
            
            new 
bool:same_as_last bool:( alv_sndr == sndr && equalalv_str2str2 ) && equalalv_str4str4) )
            
            if( !
same_as_last )
            {
                
                
                if( !( 
is_team_msg && ( is_sndr_spec || is_team_msg) ) )
                {
                    new 
flags[5], team[10]
                    if( 
is_user_alivesndr ) ) flags "bc"
                    
else flags "ac"
                    
                    
if( is_team_msg )
                    {
                        
addflags[strlenflags )], 4"e" )
                        if( 
sndr_team == team "TERRORIST"
                        
else team "CT"
                    
}
                    
                    new 
players[32], num
                    get_players
playersnumflagsteam )
                    if( 
get_user_flagssndr ) & ADMIN_RESERVATION)
                        
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
                    else 
buildmsgsndris_sndr_specis_team_msgsndr_team0str4 )
                    
                    for( new 
i=0numi++ )
                    {
                        if(
is_user_alive(players[i]) && get_user_flagsplayers[i] ) & ADMIN_RESERVATION || !is_user_alive(players[i])){
                            
message_beginMSG_ONEget_user_msgid"SayText" ), _players[i] )
                            
write_bytesndr )
                            
write_stringmsg )
                            
message_end()
                        }
                    }
                    
                }
                
                
alv_sndr sndr
                alv_str2 
str2
                alv_str4 
str4
                
if( task_exists411 ) ) remove_task411 )
                
set_task0.1"task_clear_antiloop_vars"411 )
                
            }
            
            if( !
same_as_last buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
            
            if(!(
str4[0] == '.' || str4[0] == '/' || str4[0] == '!')){
                
set_msg_arg_string2msg )
                
set_msg_arg_string4"" )
            }
            else {
                return 
PLUGIN_HANDLED;
            }
            
        }
    }
    return 
PLUGIN_CONTINUE
}

public 
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4[ ] )
{
    new 
sndr_name[33]
    
get_user_namesndrsndr_name32 )
    
    new 
prefix[32] = "^x01"
    
new flags get_user_flags(sndr);
    new 
alive is_user_alive(sndr);
    if(
alive){
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Kurucu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Kurucu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Captan] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Captan] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Captan] ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Yonetim] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Yonetim] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Yonetim] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Admin] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Admin] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Admin] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Clan Oyuncusu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Clan Oyuncusu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[C.Oyuncusu] ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x04[Steam+] ^x01"
                
}
                else {
                    
prefix "^x04[Steam] ^x01"
                
}
                
            }
            else{
                
prefix "^x01"
            
}
        }
    }
    else {
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Kurucu] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Kurucu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Captan] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Captan] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Captan] ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Yonetim] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Yonetim] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Yonetim] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Admin] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Admin] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[Admin] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x01(OLU)^x04[Steam+ Clan Oyuncusu] ^x01"
                    
}
                    else {
                        
prefix "^x01(OLU)^x04[Steam Clan Oyuncusu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x01(OLU)^x04[C.Oyuncusu] ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x01(OLU)^x04[Steam+] ^x01"
                
}
                else {
                    
prefix "^x01(OLU)^x04[Steam] ^x01"
                
}
                
            }
            else{
                
prefix "^x01(OLU)^x01"
            
}
        }
    }
    if( 
is_sndr_spec addprefix[strlen(prefix)-1], 29"¤" )
    else if( !
is_user_alivesndr ) ) addprefix[strlen(prefix)-1], 29"×" )
        
    
    if( 
is_team_msg )
    {
        if( 
is_sndr_spec prefix "^x01(Spec) "
        
else if( sndr_team == addprefix[strlen(prefix)-1], 29"(TE)" )
            else if( 
sndr_team == addprefix[strlen(prefix)-1], 29"(CT)" )
        }
    if(
is_user_admin(sndr)){
        
formatmsg199"%s%s%s :  ^x04%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
        
    }
    else{
        
formatmsg199"%s%s%s :  ^x01%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
    }
    return 
PLUGIN_HANDLED
}

public 
task_clear_antiloop_vars( )
{
    
alv_sndr 0
    alv_str2 
""
    
alv_str4 ""
    
return PLUGIN_HANDLED
}
public 
plugin_init( )
{
    
register_plugin("SteamCHAT",VERSION,"Ian Cammarata"//Edited Yek'-ta
    
    
    
register_cvar("R-STEAM",VERSION,FCVAR_SERVER)
    
    
p_namecol register_cvar"csm_namecolor""0" )
    
    
register_messageget_user_msgid("SayText"), "col_changer" )
}

stock bool:is_user_steam(id)
{
    static 
dp_pointer;
    
    if(
dp_pointer || (dp_pointer get_cvar_pointer("dp_r_id_provider")))
    {
        
server_cmd("dp_clientinfo %d"id);
        
server_exec();
        return (
get_pcvar_num(dp_pointer) == 2) ? true false;
    }
    
    new 
szAuthid[34];
    
get_user_authid(idszAuthidcharsmax(szAuthid));
    
    return (
containi(szAuthid"LAN") < 0);
}

Kardeşim r harfinin yeşil yazmasını istemiyorum ve Olu oyuncuların mesajı steamdan önce çıkıyor [Steam] (OLUsonra çıkmasını istiyorum



#4
Yapacak varmı


#5
güncel


#6
Konunuzun üzerinden 24 saat geçmeden güncellemeyin. Ve hitap şeklinize özen gösterin.
Eklenti;
PHP Kod:
/**
*    Bu eklentinin geli?tirilmi? hali Yek'-ta'ya aittir.
*    Original plugin; https://forums.alliedmods.net/showthread.php?t=56825?t=56825
*    Edited for steam tag by Yek'-ta
*/

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define VERSION "Yek'-ta"

native csd_checkuserac(id)
    
new 
COLCHAR[3][2] = { "^x03""^x04""^x01" }
new 
p_namecol
new alv_sndralv_str2[26], alv_str4[101]
new 
msg[200]
#define cm(%0)    ( sizeof(%0) - 1 )
public col_changermsg_idmsg_destrcvr )
{
    new 
str2[26]
    
get_msg_arg_string2str225 )
    if( 
equalstr2"#Cstrike_Chat"13 ) )
    {
        new 
str3[22]
        
get_msg_arg_string3str321 )
        
        if( !
strlenstr3 ) )
        {
            new 
str4[101]
            
get_msg_arg_string4str4100 )
            new 
sndr get_msg_arg_int)
            
            new 
bool:is_team_msg = !bool:equalstr2"#Cstrike_Chat_All"17 )
            
            new 
sndr_team get_user_teamsndr )
            new 
bool:is_sndr_spec = !bool:( sndr_team )
            
            new 
namecol clampget_pcvar_num(p_namecol), 0)
            
            new 
bool:same_as_last bool:( alv_sndr == sndr && equalalv_str2str2 ) && equalalv_str4str4) )
            
            if( !
same_as_last )
            {
                
                
                if( !( 
is_team_msg && ( is_sndr_spec || is_team_msg) ) )
                {
                    new 
flags[5], team[10]
                    if( 
is_user_alivesndr ) ) flags "bc"
                    
else flags "ac"
                    
                    
if( is_team_msg )
                    {
                        
addflags[strlenflags )], 4"e" )
                        if( 
sndr_team == team "TERRORIST"
                        
else team "CT"
                    
}
                    
                    new 
players[32], num
                    get_players
playersnumflagsteam )
                    if( 
get_user_flagssndr ) & ADMIN_RESERVATION)
                        
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
                    else 
buildmsgsndris_sndr_specis_team_msgsndr_team0str4 )
                    
                    for( new 
i=0numi++ )
                    {
                        if(
is_user_alive(players[i]) && get_user_flagsplayers[i] ) & ADMIN_RESERVATION || !is_user_alive(players[i])){
                            
message_beginMSG_ONEget_user_msgid"SayText" ), _players[i] )
                            
write_bytesndr )
                            
write_stringmsg )
                            
message_end()
                        }
                    }
                    
                }
                
                
alv_sndr sndr
                alv_str2 
str2
                alv_str4 
str4
                
if( task_exists411 ) ) remove_task411 )
                
set_task0.1"task_clear_antiloop_vars"411 )
                
            }
            
            if( !
same_as_last buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4 )
            
            if(!(
str4[0] == '.' || str4[0] == '/' || str4[0] == '!')){
                
set_msg_arg_string2msg )
                
set_msg_arg_string4"" )
            }
            else {
                return 
PLUGIN_HANDLED;
            }
            
        }
    }
    return 
PLUGIN_CONTINUE
}

public 
buildmsgsndris_sndr_specis_team_msgsndr_teamnamecolstr4[ ] )
{
    new 
sndr_name[33]
    
get_user_namesndrsndr_name32 )
    
    new 
prefix[33] = "^x01"
    
new flags get_user_flags(sndr);
    new 
alive is_user_alive(sndr);
    if(
alive){
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Kurucu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Kurucu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Captan] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Captan] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Captan] ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Yonetim] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Yonetim] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Yonetim] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Admin] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Admin] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Admin] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Clan Oyuncusu] ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Clan Oyuncusu] ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[C.Oyuncusu] ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x04[Steam+] ^x01"
                
}
                else {
                    
prefix "^x04[Steam] ^x01"
                
}
                
            }
            else{
                
prefix "^x01"
            
}
        }
    }
    else {
        if(!(
get_user_flags(sndr) & ADMIN_USER)){
            if(
flags ADMIN_IMMUNITY){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Kurucu] ^x03(OLU) ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Kurucu] ^x03(OLU) ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Kurucu] ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_H){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Captan] ^x03(OLU) ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Captan] ^x03(OLU) ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Captan] ^x03(OLU) ^x01"
                
}
            }
            else if(
flags ADMIN_RCON){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Yonetim] ^x03(OLU) ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Yonetim] ^x03(OLU) ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Yonetim] ^x03(OLU) ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_G){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Admin] ^x03(OLU) ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Admin] ^x03(OLU) ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[Admin] ^x03(OLU) ^x01"
                
}
            }
            else if(
flags ADMIN_LEVEL_F){
                if(
is_user_steam(sndr)){
                    if(
csd_checkuserac(sndr)){
                        
prefix "^x04[Steam+ Clan Oyuncusu] ^x03(OLU) ^x01"
                    
}
                    else {
                        
prefix "^x04[Steam Clan Oyuncusu] ^x03(OLU) ^x01"
                    
}
                }
                else if(!
is_user_steam(sndr)){
                    
prefix "^x04[C.Oyuncusu] ^x03(OLU) ^x01"
                
}
            }
        }
        else {
            if(
is_user_steam(sndr)){
                if(
csd_checkuserac(sndr)){
                    
prefix "^x04[Steam+] ^x03(OLU) ^x01"
                
}
                else {
                    
prefix "^x04[Steam] ^x03(OLU) ^x01"
                
}
                
            }
            else{
                
prefix " ^x03(OLU) ^x01"
            
}
        }
    }
    if( 
is_sndr_spec addprefix[strlen(prefix)-1], 29"¤" )
    else if( !
is_user_alivesndr ) ) addprefix[strlen(prefix)-1], 29"×" )
        
    
    if( 
is_team_msg )
    {
        if( 
is_sndr_spec prefix "^x01(Spec) "
        
else if( sndr_team == addprefix[strlen(prefix)-1], 29"(TE)" )
            else if( 
sndr_team == addprefix[strlen(prefix)-1], 29"(CT)" )
        }
    if(
is_user_admin(sndr)){
        
formatmsg199"%s%s%s :  ^x04%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
        
    }
    else{
        
formatmsg199"%s%s%s :  ^x01%s",\
        
strlenprefix ) > prefix "",\
        
COLCHAR[namecol], sndr_namestr4 )
    }
    return 
PLUGIN_HANDLED
}

public 
task_clear_antiloop_vars( )
{
    
alv_sndr 0
    alv_str2 
""
    
alv_str4 ""
    
return PLUGIN_HANDLED
}
public 
plugin_init( )
{
    
register_plugin("SteamCHAT",VERSION,"Ian Cammarata"//Edited Yek'-ta
    
    
    
register_cvar("R-STEAM",VERSION,FCVAR_SERVER)
    
    
p_namecol register_cvar"csm_namecolor""0" )
    
    
register_messageget_user_msgid("SayText"), "col_changer" )
}

stock bool:is_user_steam(id)
{
    static 
dp_pointer;
    
    if(
dp_pointer || (dp_pointer get_cvar_pointer("dp_r_id_provider")))
    {
        
server_cmd("dp_clientinfo %d"id);
        
server_exec();
        return (
get_pcvar_num(dp_pointer) == 2) ? true false;
    }
    
    new 
szAuthid[34];
    
get_user_authid(idszAuthidcharsmax(szAuthid));
    
    return (
containi(szAuthid"LAN") < 0);




Pouex(Görkem Bacısısikişenoğlu)'in anasını götünden sikeyim.
Emirhan SkürtSkürt seninde ananı sikicem sıradasın.
Dediğim gibi ferudun ve berke lafım yok.
forum.csduragi.com
#7
Özür dilerim yetkisiz kişilerin başında steam falan yazmıyor nickleride sarı yazdıkları yazılarda sarı oluyor ?


#9
@rexluca Tek konudan ilerlememiz daha iyi olabilir.
Bu konuyu taşıyalım ve diğer konu üzerinden devam edelim.
@ ITenGriTR



#10
Forum kurallarına aykırı olduğun için konunuz silinmiştir .


Bir Hata Söz Konusu Olursa Bizlere Ulaşarak Düzeltebilirsiniz.



Boş ol , boş ol , boş ol.


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

Yorum yapmak için üye olmanız gerekiyor

ya da

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
Silinmiş Konu   | Steam , Whatsapp icon yardım Brs.16 3 410 18-09-2020, Saat: 14:50
Son Yorum: JwG
Silinmiş Konu   | Steam cizim vitrini istek +BERAT+ 1 299 18-09-2020, Saat: 02:59
Son Yorum: TheFlash
Silinmiş Konu   | TopTime Eklentisi ( AKTİFLİK SÜRELERİ ) Furkangs1905 1 275 06-07-2020, Saat: 23:53
Son Yorum: By.KinG
Silinmiş Konu   | Aug Nişangah eklentisi MarcoGames 3 312 11-12-2019, Saat: 23:22
Son Yorum: By.KinG
Silinmiş Konu   | Edo Eklentisi Csgo Mod [İstek] nemesiskingofcs 7 457 03-11-2019, Saat: 18:05
Son Yorum: Smash

Task