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 ?

Konu

#1
Son Düzenleme: 11-07-2019, Saat: 23:25, Düzenleyen: Aconyonn.
bu plugın daha önce duzenlenmıs calısıyor ama sadece admınlerınkı gosterıyor sayda normal oyuncuların vurdugu gozukmuyor bıde durbunlede vursa noscope yazıyor duzenleyebılırmısınız

PHP Kod:
#include <amxmodx>
#include <cstrike>

new bool:zoom[33]

public 
plugin_init(){
    register_plugin("No Scope", "1.0", "emirakpinar")
    
    register_event
("DeathMsg" , "eaDeath" , "a")
}

public 
client_PreThink(id){
    if(is_user_alive(id)) {
        new hedef, vucut;
        get_user_aiming(id, hedef, vucut)
        
        
if(is_user_alive(hedef) && !zoom[hedef] && get_user_team(id) != get_user_team(hedef)) {
            if (CS_SET_FIRST_ZOOM <= cs_get_user_zoom(id) <= CS_SET_SECOND_ZOOM) {
                zoom[hedef] = true;
                set_task(1.0, "sil", hedef)
            }
        }
    }
}

public 
eaDeath(){
    new killer = read_data(1)
    new victim = read_data(2)
    
    
if (victim == killer) return; 
    
    
new hs = read_data(3)
    new szWeapon[20]; read_data(4,szWeapon,charsmax(szWeapon));
    if(!zoom[victim]) {
        if(equali(szWeapon,"awp") || equali(szWeapon,"g3sg1") || equali(szWeapon,"scout") || equali(szWeapon,"sg550")) {
            new killern[33],victimn[33]; get_user_name(killer,killern,charsmax(killern)); get_user_name(victim,victimn,charsmax(victimn))
            
            
if(hs) renkli_yazi(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gadli oyuncu !n%s !gadli oyuncuyu !tZOOMSUZ KAFADAN !gvurdu. !t[%s]",killern,victimn,szWeapon[0]);
            else renkli_yazi(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gadli oyuncu !n%s !gadli oyuncuyu !tZOOMSUZ !gvurdu. !t[%s]",killern,victimn,szWeapon[0]);
        }
    }
}

public 
client_connect(id)
    zoom[id] = false

public sil(id)
    zoom[id] = false
    
#if AMXX_VERSION_NUM < 183
stock renkli_yazi(const id, const input[], any:...){
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    replace_all(msg, 190, "!g", "^x01"); // Default Renk(Sarı)
    replace_all(msg, 190, "!n", "^x04"); // Yeşil Renk
    replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
    if (id) players[0] = id; else get_players(players, count, "ch");{
        for (new i = 0; i < count; i++){
            if (is_user_connected(players[i])){
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]),write_string(msg),message_end();
            }
        }
    }
}
#else
stock renkli_yazi(const id, const input[], any:...){
    static msg[191];
    vformat(msg, 190, input, 3);
    replace_all(msg, 190, "!g", "^x01"); 
    replace_all(msg, 190, "!n", "^x04"); 
    replace_all(msg, 190, "!t", "^x03"); 
    client_print_color(id, id, msg);
}
#endif 



.sma NoScope.sma (Dosya Boyutu: 2.58 KB | İndirme Sayısı: 1)
#2
@fourgething Eklentide bahsettiğiniz sorunları göremedim.


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
(11-07-2019, Saat: 23:31)Aconyonn Adlı Kullanıcıdan Alıntı: @fourgething Eklentide bahsettiğiniz sorunları göremedim.
sizin düzenlediginiz bi eklenti zaten sorun su herkeste yazı ckıyor ama algılayıcıda problem vra scope acsada zoomsuz yazıo


#4
...


PHP Kod:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define MAX_PLAYERS 32

enum _:CvarsSettings
{
    
PluginEnabled,
    
DisplayMessageType,
    
PluginPrefix
}

new 
pCvars[CvarsSettings]

new 
szPluginPrefix[25]

enum _:PlayerScopeData
{
    
Float:ScopeTime,
    
ScopeType
}

new 
ScopeData[MAX_PLAYERS+1][PlayerScopeData]

new 
gMsgSync
new MsgSayText

new PluginForwardQuick, PluginForwardNoScope, g_iReturn

public plugin_init() 
{
    new const 
PluginVersion[] = "1.2"
    
register_plugin("Quick and No Scope Detector", PluginVersion, "EFFx")
    
    
gMsgSync = CreateHudSyncObj()
    
    
pCvars[PluginEnabled] = register_cvar("qsd_enabled","1")
    
pCvars[DisplayMessageType] = register_cvar("qsd_messagetype","hud")
    
pCvars[PluginPrefix] = register_cvar("qsd_chatprefix","[Quick&NoScopeDetector]")

    
PluginForwardQuick = CreateMultiForward("client_NoScoped", ET_STOP, FP_CELL, FP_CELL, FP_CELL)
    
PluginForwardNoScope = CreateMultiForward("client_QuickScoped", ET_STOP, FP_CELL, FP_CELL, FP_CELL)
    
    if(!
PluginForwardQuick)
    {
        
log_amx("client_NoScoped forward is not used by any other plugin.")
    }
    
    if(!
PluginForwardNoScope)
    {
        
log_amx("client_QuickScoped forward is not used by any other plugin.")
    }
    
    
register_event("DeathMsg","checkQuickScopeKill","a","1>0", "4=scout","4=sg550", "4=awp", "4=g3sg1")
    
register_event("CurWeapon","fw_EvCurWeapon","b","1=1","2=3","2=13", "2=18", "2=24")
    
register_event("SetFOV","Zoom","b","1<90")
    
    
MsgSayText = get_user_msgid("SayText")
}

public 
plugin_natives()
{
    
register_library("quicknoscoped")
}

public 
plugin_end()
{
    
DestroyForward(PluginForwardQuick)
    
DestroyForward(PluginForwardNoScope)
}

public 
Zoom(id)
{
    if(
is_user_alive(id))
    {
        
ScopeData[id][ScopeTime] = _:get_gametime()
    }
}
public 
fw_EvCurWeapon(id)
{
    if(
is_user_alive(id))
    {
        
ScopeData[id][ScopeType] = cs_get_user_zoom(id)
    }
}
public 
checkQuickScopeKill()
{
    if(!
get_pcvar_num(pCvars[PluginEnabled]))
        return
    
    
new KillerName[32],VictimName[32],WeaponName[17]
    
    
new iKiller = read_data(1)
    new 
iVictim = read_data(2)
    
    new 
Float:GameTime = get_gametime()
    
    new 
bool:bNoScope = bool:(ScopeData[iKiller][ScopeType] == CS_SET_NO_ZOOM)
    new 
bool:bQuickScope = bool:(GameTime - ScopeData[iKiller][ScopeTime] <= 0.20)
    
    if(
bNoScope || bQuickScope)
    {
        
get_user_name(iKiller,KillerName,charsmax(KillerName))
        
get_user_name(iVictim,VictimName,charsmax(VictimName))

        
bNoScope ? ExecuteForward(PluginForwardNoScope, g_iReturn, iKiller, iVictim, get_user_weapon(iKiller)) : ExecuteForward(PluginForwardQuick, g_iReturn, iKiller, iVictim, get_user_weapon(iKiller))
        
        
read_data(4,WeaponName,charsmax(WeaponName))

        
QSD_ChatMessage 
        
( 
            
"^4%s^1 Holy shit!^4 %s^1 %s^3 %s^1 with his^4 %s", 
            
get_pcvar_string(pCvars[PluginPrefix],szPluginPrefix,charsmax(szPluginPrefix)), 
            
szPluginPrefix, 
            
KillerName, 
            
bNoScope ? "just NO SCOPED" : "made a^4 QUICK SCOPE^1 on" , 
            
VictimName, 
            
WeaponName 
        
)
    }
}
QSD_ChatMessage(const message[],withPrefixRemoved,any:...) 
{
    static 
szMsg[191]
    
vformat(szMsg,charsmax(szMsg),message,3)

    
replace_all(szMsg, charsmax(szMsg),"!g","^4")
    
replace_all(szMsg, charsmax(szMsg),"!y","^1")
    
replace_all(szMsg, charsmax(szMsg),"!t","^3")
    
    new const 
replaceIcons[] = {"^4","^3","^1"}
    
    new 
szMessageType[45]
    
get_pcvar_string(pCvars[DisplayMessageType],szMessageType,charsmax(szMessageType))
    
    switch(
szMessageType[0])
    {
        case 
'H','h':
        {
            for(new 
i;i < sizeof replaceIcons;i++)
            {
                
replace_all(szMsg,charsmax(szMsg),replaceIcons[i],"")
            }
            
set_hudmessage(0,255,0,-1.0,0.25,1,1.0,5.0)
            
ShowSyncHudMsg(0,gMsgSync,szMsg[withPrefixRemoved])
        }
        case 
'L','l':
        {
            for(new 
i;i < sizeof replaceIcons;i++)
            {
                
replace_all(szMsg,charsmax(szMsg),replaceIcons[i],"")
            }
            
log_amx(szMsg[withPrefixRemoved])
        }
        default:
        {
            new 
Players[32],iPlayersNum,PlayerID
            get_players
(Players,iPlayersNum,"ch")
                
            for(new 
i;i < iPlayersNum;i++)
            {
                
PlayerID = Players[i]
                
message_begin(MSG_ONE_UNRELIABLE,MsgSayText, .player = PlayerID)  
                write_byte
(PlayerID)
                
write_string(szMsg)
                
message_end()
            }
        }
    }
} 



gнσѕтcσ∂єяѕ | ücяєтѕιz єкℓєηтι уαя∂ıмı | ѕιηcє 2θΙȣ
Bizimle İletişime Geçmek için :
[ TIKLA ]
#5
Bu attiginiz alliersteki bu çalısmıyor ingilizce ben türkçe istiyorum


#6
Son Düzenleme: 12-07-2019, Saat: 16:58, Düzenleyen: GhostCoders.
Alliedmodders deki çalışıyor fakat hud olduğu için çakışıyor olabilir türkçe yazısını söyleyin ayarlayayım.


gнσѕтcσ∂єяѕ | ücяєтѕιz єкℓєηтι уαя∂ıмı | ѕιηcє 2θΙȣ
Bizimle İletişime Geçmek için :
[ TIKLA ]
#7
if(hs) renkli_yazi(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gadli oyuncu !n%s !gadli oyuncuyu !tZOOMSUZ KAFADAN !gvurdu. !t[%s]",killern,victimn,szWeapon[0]);
else renkli_yazi(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gadli oyuncu !n%s !gadli oyuncuyu !tZOOMSUZ !gvurdu. !t[%s]",killern,victimn,szWeapon[0]);
}


yazı buda yukledım yazmıyor algılamıyor


#8
Buyrun denedim gayet güzel çalışıyor.
PHP Kod:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define MAX_PLAYERS 32

enum _:CvarsSettings
{
    
PluginEnabled,
    
DisplayMessageType,
    
PluginPrefix
}

new 
pCvars[CvarsSettings]

enum _:PlayerScopeData
{
    
Float:ScopeTime,
    
ScopeType
}

new 
ScopeData[MAX_PLAYERS+1][PlayerScopeData]


new 
PluginForwardQuick, PluginForwardNoScope, g_iReturn

public plugin_init() 
{
    new const 
PluginVersion[] = "1.2"
    
register_plugin("Quick and No Scope Detector", PluginVersion, "EFFx")
    
    
    
pCvars[PluginEnabled] = register_cvar("qsd_enabled","1")
    
pCvars[DisplayMessageType] = register_cvar("qsd_messagetype","hud")
    
    
PluginForwardQuick = CreateMultiForward("client_NoScoped", ET_STOP, FP_CELL, FP_CELL, FP_CELL)
    
PluginForwardNoScope = CreateMultiForward("client_QuickScoped", ET_STOP, FP_CELL, FP_CELL, FP_CELL)
    
    if(!
PluginForwardQuick)
    {
        
log_amx("client_NoScoped forward is not used by any other plugin.")
    }
    
    if(!
PluginForwardNoScope)
    {
        
log_amx("client_QuickScoped forward is not used by any other plugin.")
    }
    
    
register_event("DeathMsg","checkQuickScopeKill","a","1>0", "4=scout","4=sg550", "4=awp", "4=g3sg1")
    
register_event("CurWeapon","fw_EvCurWeapon","b","1=1","2=3","2=13", "2=18", "2=24")
    
register_event("SetFOV","Zoom","b","1<90")
    
}

public 
plugin_natives()
{
    
register_library("quicknoscoped")
}

public 
plugin_end()
{
    
DestroyForward(PluginForwardQuick)
    
DestroyForward(PluginForwardNoScope)
}

public 
Zoom(id)
{
    if(
is_user_alive(id))
    {
        
ScopeData[id][ScopeTime] = _:get_gametime()
    }
}
public 
fw_EvCurWeapon(id)
{
    if(
is_user_alive(id))
    {
        
ScopeData[id][ScopeType] = cs_get_user_zoom(id)
    }
}
public 
checkQuickScopeKill()
{
    if(!
get_pcvar_num(pCvars[PluginEnabled]))
        return
    
    
new KillerName[32],VictimName[32],WeaponName[17]
    
    
new iKiller = read_data(1)
    new 
iVictim = read_data(2)
    new 
hs = read_data(3)
    
    new 
Float:GameTime = get_gametime()
    
    new 
bool:bNoScope = bool:(ScopeData[iKiller][ScopeType] == CS_SET_NO_ZOOM)
    new 
bool:bQuickScope = bool:(GameTime - ScopeData[iKiller][ScopeTime] <= 0.20)
    
    if(
bNoScope || bQuickScope)
    {
        
get_user_name(iKiller,KillerName,charsmax(KillerName))
        
get_user_name(iVictim,VictimName,charsmax(VictimName))

        
bNoScope ? ExecuteForward(PluginForwardNoScope, g_iReturn, iKiller, iVictim, get_user_weapon(iKiller)) : ExecuteForward(PluginForwardQuick, g_iReturn, iKiller, iVictim, get_user_weapon(iKiller))
        
        
read_data(4,WeaponName,charsmax(WeaponName))
        if(
hs){
            
client_printc(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gAdli Oyuncu !n%s !gAdli Oyuncuyu Kafadan !t%s !gVurdu.",KillerName,VictimName,bNoScope ? "ZOOMSUZ":"ZOOMLU") 
        }
        if(!
hs){
            
client_printc(0,"!tBIG GAMERZ - 95.173.173.9: !n%s !gAdli Oyuncu !n%s !gAdli Oyuncuyu !t%s !gVurdu.",KillerName,VictimName,bNoScope ? "ZOOMSUZ":"ZOOMLU") 
        }
        
/*QSD_ChatMessage 
        ( 
            "^4%s^1 Holy shit!^4 %s^1 %s^3 %s^1 with his^4 %s", 
            get_pcvar_string(pCvars[PluginPrefix],szPluginPrefix,charsmax(szPluginPrefix)), 
            szPluginPrefix, 
            KillerName, 
            bNoScope ? "just NO SCOPED" : "made a^4 QUICK SCOPE^1 on" , 
            VictimName, 
            WeaponName 
        )*/
    
}
}
stock client_printc(const id, const input[], any:...) {
    new 
count = 1, players[32];
    static 
msg[191];
    
vformat(msg, 190, input, 3);
    
    
replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarý)
    
replace_all(msg, 190, "!g", "^x04"); // Yeþil Renk
    
replace_all(msg, 190, "!t", "^x03"); // Takým Renk( CT mavi , T kýrmýzý )
    
    
if (id) players[0] = id; else get_players(players, count, "ch");
    {
        for (new 
i = 0; i < count; i++)
        {
            if (
is_user_connected(players[i]))
            {
                
                
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }

        }
    }
} 



gнσѕтcσ∂єяѕ | ücяєтѕιz єкℓєηтι уαя∂ıмı | ѕιηcє 2θΙȣ
Bizimle İletişime Geçmek için :
[ TIKLA ]
#9
sma olarak atarmısınız sma cevırmıyor


#10
........


.sma QuickNoScopeDD.sma (Dosya Boyutu: 3.8 KB | İndirme Sayısı: 4)
gнσѕтcσ∂єяѕ | ücяєтѕιz єкℓєηтι уαя∂ıмı | ѕιηcє 2θΙȣ
Bizimle İletişime Geçmek için :
[ TIKLA ]


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
Derleme Hatası Cozumu ??? K0gamer 2 429 23-11-2019, Saat: 21:50
Son Yorum: By.KinG
Eklenti hatası Melih1907 4 442 21-09-2019, Saat: 12:58
Son Yorum: ITenGriTR
Eklenti kurulum hatasi! serbir31 6 537 29-07-2019, Saat: 16:42
Son Yorum: ITenGriTR
Sma compile hatası Tofie 2 623 10-06-2019, Saat: 11:46
Son Yorum: Aconyonn
Compile Hatası Alıyorum Düzeltebilirmisiniz babyhi 10 838 10-06-2019, Saat: 11:40
Son Yorum: Aconyonn

Task