Oyun Dedektörü Oyun Eklentileri SourcePawn Eklenti Sorunları ByDexter Gelişmiş LR Eklentisi İçin Yardım
ByDexter Gelişmiş LR Eklentisi İçin Yardım
GinHoshi
ByDexter Gelişmiş LR Eklentisi İçin Yardım
8
375
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Konuyu Okuyanlar:1 Ziyaretçi
Şuan Offine!
Şuan Offine!
GinHoshi Üye
*
Üye
  • Konular1
  • Mesajlar3
  • Rep puanı 0
ByDexter ın plugin arşivinden gelişmiş lr eklentisini compile ederken bir sorunla karşılaşıyorum sorunu çözebilecek varmıdır acaba
Kod:
Kod :
#include <sourcemod>
#include <cstrike>
#include <sdkhooks>
#include <emitsoundany>
#include <adminmenu>
#include <store>
#include <smlib>

#pragma tabsize 0
//////////////////////////////////////////////////////////////////////////////////////
new Handle:Lr;
new Handle:Lr_Deagle;
new Handle:Lr_NoScope;
new Handle:Lr_Knife;
//////////////////////////////////////////////////////////////////////////////////////
int m_flNextSecondaryAttack = -1;
//////////////////////////////////////////////////////////////////////////////////////
bool Lr_Aktif[MAXPLAYERS + 1];
bool Lr_Sira[MAXPLAYERS + 1];
//////////////////////////////////////////////////////////////////////////////////////
new Handle:h_timer = INVALID_HANDLE;
new Handle:Kurallar
//////////////////////////////////////////////////////////////////////////////////////
new T_Sayisi;
int T_Sayisi2;

new Handle:Overlays
//////////////////////////////////////////////////////////////////////////////////////
new Handle:menuhandlee
new Handle:aktif
//////////////////////////////////////////////////////////////////////////////////////
new Handle:KomutcuVar
bool Komutcu[MAXPLAYERS + 1];
//////////////////////////////////////////////////////////////////////////////////////
new Handle:Lr_Kazanan_CT
new Handle:LrKazanan
//////////////////////////////////////////////////////////////////////////////////////
ConVar g_Kredi;
//////////////////////////////////////////////////////////////////////////////////////
#define LoopClients(%1) for(int %1 = 1; %1 <= MaxClients; %1++)
//////////////////////////////////////////////////////////////////////////////////////
public OnMapStart()
{
    char mapName[128];
    GetCurrentMap(mapName, sizeof(mapName));
    if(!((StrContains(mapName, "jb_", false) != -1) || (StrContains(mapName, "jail_", false)!= -1) || (StrContains(mapName, "ba_jail_", false) != -1)))
    {
        SetFailState("Bu eklenti sadece jailbreak haritalarında çalışmaktadır.");    
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red.phy");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red.vvd");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red.dx90.vtx");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red.mdl");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.dx90.vtx");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.mdl");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.vvd");/    
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.phy");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.vvd");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.dx90.vtx");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.mdl");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.dx90.vtx");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.mdl");
        AddFileToDownloadsTable("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.vvd");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger.vmt");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_d.vtf");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_n.vtf");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vmt");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vtf");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger.vmt");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_d.vtf");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_n.vtf");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vmt");
        AddFileToDownloadsTable("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vtf");    
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red.phy");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red.vvd");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red.dx90.vtx");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red.mdl");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger.vmt");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_d.vtf");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_n.vtf");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vmt");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vtf");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.dx90.vtx");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.mdl");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.vvd");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.phy");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.vvd");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.dx90.vtx");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue.mdl");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger.vmt");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_d.vtf");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_n.vtf");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vmt");
        PrecacheModel("materials/models/player/custom_player/caleon1/gunslinger/gunslinger_alpha.vtf");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.dx90.vtx");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.mdl");
        PrecacheModel("models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.vvd");    
        AddFileToDownloadsTable("sound/ByDexter/Lr_Sarkilari/Lr_Sarki.mp3");
        PrecacheSoundAny("ByDexter/Lr_Sarkilari/Lr_Sarki.mp3");
    }
}
///////////////////////////////////////////////////////////////////////////////////////
public OnPluginStart()
{
    RegConsoleCmd("sm_w", w, "");
    RegConsoleCmd("sm_uw", uw, "");        
    RegConsoleCmd("sm_lr", LR, "");
    
    RegAdminCmd("sm_lriptal", Lr_Iptal, ADMFLAG_CUSTOM4);
    RegAdminCmd("sm_cancellr", Lr_Iptal, ADMFLAG_CUSTOM4);
    
    HookEvent("round_start", El_Basi_Sonu);   
    HookEvent("round_end", El_Basi_Sonu);     
    HookEvent("player_death", Player_Death);     
    HookEvent("weapon_fire", Weapon_Fire);   
    HookEvent("player_hurt", Player_Hurt);

    m_flNextSecondaryAttack = FindSendPropInfo("CBaseCombatWeapon", "m_flNextSecondaryAttack");
    //*********************************//
    g_Kredi = CreateConVar("gelismis_lr_kredi", "1", "LR Kazanan kaç kredi alsın?");
    AutoExecConfig(true, "GelismisLR", "ByDexter");
    //*******************************************//      
}
///////////////////////////////////////////////////////////////////////////////////////
public OnClientPostAdminCheck(client)
{
    SDKHook(client, SDKHook_OnTakeDamage, OnTakeDamage);        
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:w(client, args)
{
    if(IsPlayerAlive(client))    
    {
        if (GetClientTeam(client) == CS_TEAM_CT)
        {
            if(!KomutcuVar)
            {
                KomutcuVar = 1;
                Komutcu[client] = true;
            }
        }    
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:uw(client, args)
{
    if(IsPlayerAlive(client))    
    {
        if (GetClientTeam(client) == CS_TEAM_CT)
        {
            if(Komutcu[client])
            {
                KomutcuVar = 0;
                Komutcu[client] = false;    
            }
        }    
    }    
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:OnTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype)
{
    if(Lr)
    {
        if(!Lr_Aktif[attacker] && Lr_Aktif[victim])
        {
            damage = 0.0;
            return Plugin_Handled;
        }
        else
        if(Lr_Aktif[attacker] && !Lr_Aktif[victim])        
        {
            damage = 0.0;
            return Plugin_Handled;    
        }
        
        if(Lr_Aktif[attacker] && Lr_Aktif[victim])
        {
            if(Lr_Deagle)
            {
                new String:SilahIsmi[64];        
                GetClientWeapon(attacker, SilahIsmi, sizeof(SilahIsmi));        
                                    
                if(Lr_Sira[attacker])
                {
                    if(StrEqual(SilahIsmi, "weapon_deagle", true))
                    {
                        if(damagetype & CS_DMG_HEADSHOT)
                        {
                            // EMPTY //
                        }
                        else
                        {
                            PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eDeagle İle Sadece \x07HS \x09Atarak Öldürebilirsin.", attacker);
                            
                            damage = 0.0;
                            return Plugin_Handled;                 
                        }
                    }    
                    else
                    {
                        PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eDeagle Lr'si Atıyorsun \x07Başka Bir \x09Silah Kullanamazsın.", attacker);    
                        
                        Client_RemoveAllWeapons(attacker, "", true);                        
                        GivePlayerItem(attacker, "weapon_deagle");
                        
                        damage = 0.0;
                        return Plugin_Handled;
                    }                    
                }
                  else
                {
                    if(StrEqual(SilahIsmi, "weapon_deagle", true))
                    {                    
                        PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eSıra Şuan Sizde \x07Değil!", attacker);
                        Client_RemoveAllWeapons(attacker, "", true);
                            
                        damage = 0.0;
                        return Plugin_Handled;            
                    }
                    else
                    {    
                        PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eDeagle Lr'si Atıyorsun \x07Başka Bir \x09Silah Kullanamazsın.", attacker);                            
                        Client_RemoveAllWeapons(attacker, "", true);
                            
                        damage = 0.0;
                        return Plugin_Handled;                    
                    }                    
                }
            }
            else
            if(Lr_NoScope)
            {
                new String:SilahIsmi[64];        
                GetClientWeapon(attacker, SilahIsmi, sizeof(SilahIsmi));        
                
                if(StrEqual(SilahIsmi, "weapon_awp", true))
                {
                    int Hasar = damage;

                    PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eİsimli Oyuncuya \x09%s \x07Hasar Vurdun.", victim, Hasar);                                                
                }    
                else
                {
                    PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eNo Scope Lr'si Atıyorsun \x07Başka Bir \x09Silah Kullanamazsın.", attacker);                                                
                    
                    Client_RemoveAllWeapons(attacker, "", true);
                    GivePlayerItem(attacker, "weapon_awp");
                    
                    damage = 0.0;
                    return Plugin_Handled;
                }                
            }
            else
            if(Lr_Knife)
            {
                new String:SilahIsmi[64];        
                GetClientWeapon(attacker, SilahIsmi, sizeof(SilahIsmi));        
                
                if(StrEqual(SilahIsmi, "weapon_knife", true) || StrEqual(SilahIsmi, "weapon_knife_gut", true) || StrEqual(SilahIsmi, "weapon_knife_flip", true) || StrEqual(SilahIsmi, "weapon_knife_m9_bayonet", true) || StrEqual(SilahIsmi, "weapon_knife_karambit", true) || StrEqual(SilahIsmi, "weapon_knife_tactical", true) || StrEqual(SilahIsmi, "weapon_knife_butterfly", true) || StrEqual(SilahIsmi, "weapon_knife_falchion", true) || StrEqual(SilahIsmi, "weapon_knife_push", true) || StrEqual(SilahIsmi, "weapon_knife_t", true) || StrEqual(SilahIsmi, "weapon_knife_survival_bowie", true))
                {
                    int Hasar = damage;

                    PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eİsimli Oyuncuya \x09%s \x07Hasar Vurdun.", victim, Hasar);                                                
                }    
                else
                {
                    PrintToChat(attacker, " \x04[\x02LR\x04] \x0c%N \x0eKnife Lr'si Atıyorsun \x07Başka Bir \x09Silah Kullanamazsın.", attacker);                                                
                    
                    Client_RemoveAllWeapons(attacker, "", true);
                    
                    damage = 0.0;
                    return Plugin_Handled;
                }            
            }    
        }
    }

//////////////////////////////////////////////////////////////////////////////////////
public Action:Weapon_Fire(Handle:event, const String:name[], bool:dontBroadcast)
{
    new client = GetClientOfUserId(GetEventInt(event, "userid"));    
    
    if(Lr)
    {
        if(Lr_Aktif[client])
        {
            new String:SilahIsmi[64];        
            GetClientWeapon(client, SilahIsmi, sizeof(SilahIsmi));        
            
            if(StrEqual(SilahIsmi, "weapon_deagle", true))
            {        
                LoopClients(i)
                {
                    if(Lr_Aktif[i])
                    {
                        Lr_Sira[i] = true;
                    }                    
                }

                
                CreateTimer(0.1, Silahlari_Sil, GetClientUserId(client));
                
                PrintToChatAll(" \x04[\x02LR\x04] \x0c%N \x0eAteş \x07Etti.", client);        
            }
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:Silahlari_Sil(Handle:Timer, any:data)
{
    new client = GetClientOfUserId(data);
    
    Lr_Sira[client] = false;    
    
    Client_RemoveAllWeapons(client, "", true);
    
    LoopClients(i)
    {
        if(Lr_Sira[i])
        {
            GivePlayerItem(i, "weapon_deagle");
                            
            decl String:google[255];
            FormatEx(google, sizeof(google), "https://translate.google.com/translate_tts?ie=UTF-8&q=Sıra Sende Sık Bakalım&tl=tr&client=tw-ob", i);          
                                
            ShowMOTDPanel(i, "SIRA SENDE", google, MOTDPANEL_TYPE_URL);            

            new Handle:hHudText = CreateHudSynchronizer();
            SetHudTextParams(-1.0, -0.30, 3.0, 255, 0, 0, 0);
            ShowSyncHudText(i, hHudText, "%N Sıra Sende Sık Bakalım.", i);
            CloseHandle(hHudText);    
                        
            PrintToChat(i, " \x04[\x02LR\x04] \x0c%N \x0eSıra Sende \x07Sık Bakalım.", i);                        
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:LR(client, args)
{
    if (GetClientTeam(client) == CS_TEAM_T)
    {        
        if(IsPlayerAlive(client))
        {
            if(!Lr)
            {        
                new TSayisi;    
               
                for (new i = 1; i <= MaxClients; i++)
                    if(IsClientInGame(i) && IsPlayerAlive(i) && !IsFakeClient(i))    
                    {
                        if(GetClientTeam(i) == CS_TEAM_T)
                        {
                            TSayisi++;                
                        }
                    }
               
                    if (TSayisi == 1)
                    {                
                        new Handle:menuhandle = CreateMenu(LRMenusu);
                        SetMenuTitle(menuhandle, "! LR Menüsü !");
                        AddMenuItem(menuhandle, "Deagle", "Deagle");
                        AddMenuItem(menuhandle, "NoScope", "NoScope");
                        AddMenuItem(menuhandle, "Knife", "Knife( KAZANIRSAN 1500 KREDİ )");                
                        SetMenuPagination(menuhandle, 7);
                        SetMenuExitButton(menuhandle, true);
                        DisplayMenu(menuhandle, client, 20);        
                    }
                        else
                    if (TSayisi > 1)                                    
                    {
                        PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eSona Kalmadan \x07Lr \x09Atamazsın.", client);
                    }    
            }
            else
            {
                PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eŞuanda Zaten \x07Lr Atılıyor.", client);
            }            
        }
        else
        {
            PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eSadece Canlılar \x07LR Atabilir.", client);    
        }        
    }
    else
    {
        PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eBu Komut \x07Mahkumlar İçindir.", client);
    }            
}
///////////////////////////////////////////////////////////////////////////////////////
public LRMenusu(Handle:menuhandle, MenuAction:action, client, Position)
{    
    if(action == MenuAction_Select)
    {
        decl String:Item[20];
        GetMenuItem(menuhandle, Position, Item, sizeof(Item));
    
        T_Sayisi2 = 0;

        for (new i = 1; i <= MaxClients; i++)
            if(IsClientInGame(i))
            {
                if(IsPlayerAlive(i))
                {
                    if(GetClientTeam(i) == CS_TEAM_T)
                    {
                        T_Sayisi2++;
                    }            
                }
            }        
        
        if (T_Sayisi2 == 1)
        {
            if (StrEqual(Item, "Deagle"))
            {    
                if (GetClientTeam(client) == CS_TEAM_T)
                {        
                    Lr_Deagle = 1;
                    Lr_NoScope = 0;
                    Lr_Knife = 0;
                        
                    OyuncuSec(client);
                }
            }    
            
            if (StrEqual(Item, "NoScope"))
            {    
                if (GetClientTeam(client) == CS_TEAM_T)
                {            
                    Lr_Deagle = 0;
                    Lr_NoScope = 1;
                    Lr_Knife = 0;                    
                        
                    OyuncuSec(client);
                }
            }    
    
            if (StrEqual(Item, "Knife"))
            {    
                if (GetClientTeam(client) == CS_TEAM_T)
                {        
                    Lr_Deagle = 0;
                    Lr_NoScope = 0;
                    Lr_Knife = 1;                    
                        
                    OyuncuSec(client);
                }
            }                
        }

    } else if(action == MenuAction_End)
    {
        CloseHandle(menuhandle);
    }
}
///////////////////////////////////////////////////////////////////////////////////////
OyuncuSec(client)
{
    new String:info[10], String:display[MAX_NAME_LENGTH], userid;

    new Handle:menu = CreateMenu(MenuHandler1, MENU_ACTIONS_DEFAULT);
    SetMenuTitle(menu,"! LR ATICAĞIN KİŞİYİ SEÇ !");

    for(new i = 1; i <= MaxClients; i++)
    {
        if(IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) == CS_TEAM_CT && IsPlayerAlive(i))
        {
            userid = GetClientUserId(i);
            Format(info, sizeof(info), "%i", userid);
            Format(display, sizeof(display)-13, "%N", i);
            Format(display, sizeof(display), "%s (%i)", display, userid);
            AddMenuItem(menu, info, display);
        }
    }

    DisplayMenu(menu, client, 20);
}
///////////////////////////////////////////////////////////////////////////////////////
public MenuHandler1(Handle:menu, MenuAction:action, client, itemNum)
{
    if ( action == MenuAction_Select ) 
    {
        new String:info[32]; 
        GetMenuItem(menu, itemNum, info, sizeof(info));     
       
        new iInfo = StringToInt(info);
        new iUserid = GetClientOfUserId(iInfo);     
       
        if(!Lr)
        {
            if(Lr_Deagle)
            {
                if(GetClientTeam(iUserid) == CS_TEAM_CT)
                {
                    Lr = 1;    
                    Kurallar = 1;
                    Lr_Aktif[client] = true;                                                            
                    Lr_Aktif[iUserid] = true;                                                            
                    
                    Ayarlar(iUserid);
                    Ayarlar(client);
                    
                    Kurallarr(client);
                    LrKazanann();
                    
                    EmitSoundToAllAny("ByDexter/Lr_Sarkilari/Lr_Sarki.mp3");    
                    
                    for (new i = 1; i <= MaxClients; i++)
                        if(IsClientInGame(i))    
                        {    
                            if(!Lr_Aktif[client])
                            {
                                PrintToChat(i, " \x04[\x02LR\x04] \x0c%N \x0eİle \x0c%N \x07Deagle \x09Lr'si Atıyor.", client, iUserid);    
                            }

                            new Handle:hHudText = CreateHudSynchronizer();
                            SetHudTextParams(-1.0, -0.40, 5.0, 255, 0, 0, 0);
                            ShowSyncHudText(i, hHudText, "%N İle %N Deagle Lr'si Atıyor.", client, iUserid);
                            CloseHandle(hHudText);        
                        }
                }                    
                else
                {
                    OyuncuSec(client);
                    
                    PrintToChat(client, " \x04[\x02LR\x04] \x0cLr Atıcağınız Kişi \x07CT \x09Takımında Olması Gereklidir.");                                                
                }
            }
            
            if(Lr_NoScope)
            {
                if(GetClientTeam(iUserid) == CS_TEAM_CT)
                {
                    Lr = 1;    
                    Lr_Aktif[client] = true;                                                            
                    Lr_Aktif[iUserid] = true;    

                    Ayarlar(iUserid);
                    Ayarlar(client);
                    
                    EmitSoundToAllAny("ByDexter/Lr_Sarkilari/Lr_Sarki.mp3");    
                    
                    LoopClients(i)
                    {
                        new Handle:hHudText = CreateHudSynchronizer();
                        SetHudTextParams(-1.0, -0.40, 5.0, 255, 0, 0, 0);
                        ShowSyncHudText(i, hHudText, "%N İle %N No Scope Lr'si Atıyor.", client, iUserid);
                        CloseHandle(hHudText);        

                        if(!Lr_Aktif[client])
                        {
                            PrintToChat(i, " \x04[\x02LR\x04] \x0c%N \x0eİle \x0c%N \x07No Scope \x09Lr'si Atıyor.", client, iUserid);    
                        }
                    }                    
                }
                else
                {
                    OyuncuSec(client);
                    
                    PrintToChat(client, " \x04[\x02LR\x04] \x0cLr Atıcağınız Kişi \x07CT \x09Takımında Olması Gereklidir.");                                                
                }
            }
            
            if(Lr_Knife)
            {
                if(GetClientTeam(iUserid) == CS_TEAM_CT)
                {
                    Lr = 1;    
                    Lr_Aktif[client] = true;                                                            
                    Lr_Aktif[iUserid] = true;    
                    
                    Ayarlar(iUserid);
                    Ayarlar(client);

                    EmitSoundToAllAny("ByDexter/Lr_Sarkilari/Lr_Sarki.mp3");    
                    
                    LoopClients(i)
                    {
                        new Handle:hHudText = CreateHudSynchronizer();
                        SetHudTextParams(-1.0, -0.40, 5.0, 255, 0, 0, 0);
                        ShowSyncHudText(i, hHudText, "%N İle %N Knife Lr'si Atıyor.", client, iUserid);
                        CloseHandle(hHudText);        

                        if(!Lr_Aktif[client])
                        {
                            PrintToChat(i, " \x04[\x02LR\x04] \x0c%N \x0eİle \x0c%N \x07Knife \x09Lr'si Atıyor.", client, iUserid);    
                        }
                    }                    
                }
                else
                {
                    OyuncuSec(client);
                    
                    PrintToChat(client, " \x04[\x02LR\x04] \x0cLr Atıcağınız Kişi \x07CT \x09Takımında Olması Gereklidir.");                                                
                }
            }
        }
    } 
}
///////////////////////////////////////////////////////////////////////////////////////
Ayarlar(client)
{
    if(Lr)
    {    
        for(int j = 0; j < 5; j++)
        {
            int weapon = GetPlayerWeaponSlot(client, j);
            if(weapon != -1)
            {
                RemovePlayerItem(client, weapon);
                RemoveEdict(weapon);                        
            }
        }
        
        ServerCommand("sm_beacon #%d", GetClientUserId(client));      
        ServerCommand("sm_god #%d 0", GetClientUserId(client));          
        SetEntityHealth(client, 100);
                    
        if(GetClientTeam(client) == CS_TEAM_T)
        {
            SetEntityModel(client, "models/player/custom_player/caleon1/gunslinger/gunslinger_red.mdl");
            SetEntPropString(client, Prop_Send, "m_szArmsModel", "models/player/custom_player/caleon1/gunslinger/gunslinger_red_arms.mdl");          
        }
        else
        if(GetClientTeam(client) == CS_TEAM_CT)
        {
            SetEntityModel(client, "models/player/custom_player/caleon1/gunslinger/gunslinger_blue.mdl");
            SetEntPropString(client, Prop_Send, "m_szArmsModel", "models/player/custom_player/caleon1/gunslinger/gunslinger_blue_arms.mdl");      
        }
                    
        if(Lr_Deagle)
        {
            GivePlayerItem(client, "weapon_knife");        
        
            if(GetClientTeam(client) == CS_TEAM_T)
            {
                GivePlayerItem(client, "weapon_deagle");    
                PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eİlk Sen Başlıyorsun \x07Sık \x09Bakalım.", client);    

                new Handle:hHudText = CreateHudSynchronizer();
                SetHudTextParams(-1.0, -0.30, 3.0, 255, 0, 0, 0);
                ShowSyncHudText(client, hHudText, "%N İlk Sen Başlıyorsun Sık Bakalım.", client);
                CloseHandle(hHudText);        

                // SIRA SENDE SES + LOGO    
                Lr_Sira[client] = true;        
            }
            else
            {
                new Handle:hHudText = CreateHudSynchronizer();
                SetHudTextParams(-1.0, -0.30, 3.0, 255, 0, 0, 0);
                ShowSyncHudText(client, hHudText, "%N İlk Mahkum Başlıyor Sıranı Bekle :D", client);
                CloseHandle(hHudText);                    
                
                PrintToChat(client," \x04[\x02LR\x04] \x0c%N \x0eİlk Mahkum \x07Başlıyor \x09Sıranı Bekle :D", client);    
        
                Lr_Sira[client] = false;                    
            }
        }
        else
        if(Lr_NoScope)
        {
            GivePlayerItem(client, "weapon_awp");                
            GivePlayerItem(client, "weapon_knife");    

            SDKHook(client, SDKHook_PreThink, OnPreThink);
        }
        else
        if(Lr_Knife)
        {    
            GivePlayerItem(client, "weapon_knife");
        }        
    }            
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:Lr_Iptal(client, args)
{
    if(Lr)
    {
        PrintToChatAll(" \x04[\x02LR\x04] \x0c%N \x0eTarafından \x07Lr \x09İptal Edildi.", client);
        
        Lr = 0;
        Lr_Deagle = 0;
        Lr_NoScope = 0;
        Lr_Knife = 0;
        Kurallar = 0;
        Lr_Kazanan_CT = 0;
        LrKazanan = 0;        
    
        CloseHandle(menuhandlee);

        for (new i = 1; i <= MaxClients; i++)
            if(IsClientInGame(i))    
            {        
                new Handle:hHudText = CreateHudSynchronizer();
                SetHudTextParams(-1.0, -0.40, 5.0, 255, 0, 0, 0);
                ShowSyncHudText(i, hHudText, "%N Tarafından Lr İptal Edildi.", client);
                CloseHandle(hHudText);    
            
                if(Lr_Aktif[i])
                {
                    ServerCommand("sm_beacon #%d", GetClientUserId(i));      
                    ServerCommand("sm_god #%d 0", GetClientUserId(i));          
                    SetEntityHealth(i, 100);
                    
                    Lr_Aktif[i] = false;    
                    Lr_Sira[i] = false;                    
                }
            }
    }
    else
    {
        PrintToChat(client, " \x04[\x02LR\x04] \x0c%N \x0eŞuanda Aktif Bir \x07Lr \x09Yok.", client);
    }
}
//////////////////////////////////////////////////////////////////////////////////////
Kurallarr(client)
{
    if (GetClientTeam(client) == CS_TEAM_T)
    {
        new count, client;
        for (new i = 1; i <= MaxClients; i++)
        {
            if (IsClientInGame(i) && IsPlayerAlive(i))
            {
                if (GetClientTeam(i) == CS_TEAM_T)    
                {
                    client = i;
                    count++;
                }
            }
        }
       
        if (count == 1)
        {
            if (GetClientTeam(client) == CS_TEAM_T)
            {
                h_timer = CreateTimer(1.0, KurallariGoster, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);        
                
                Kurallar = 1;
            }
        }
        else
        {
            Kurallar = 0;    
            CloseHandle(h_timer);
          }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Action:KurallariGoster(Handle:Timer)
{
    if(Kurallar)
    {
        new count;    
        for (new i = 1; i <= MaxClients; i++)
        {
            if (IsClientInGame(i) && IsPlayerAlive(i))
            {
                if (GetClientTeam(i) == CS_TEAM_T)    
                {
                    count++;
                }
            }
        }    
        
        if (count == 1)
        {
            for (new i = 1; i <= MaxClients; i++)
            {
                if (IsClientInGame(i))
                {            
                    {       
                        new Handle:hHudText = CreateHudSynchronizer();
                        SetHudTextParams(-1.0, -0.80, 1.0, 0, 153, 255, 0);
                        ShowSyncHudText(i, hHudText, "→ LR Kuralı Sabittir. ← \n1.) → | Vuran Egilebilir. İlk Atış T'nin | ← \n2.) → | Klasik lr, qq, sag sol yapmak, arkaya donmek yok! | ← \n3.) → | SADECE HS, Egilmek ziplamak yok, yuz yuze. | ←");
                        CloseHandle(hHudText);    
                    }
                }
            }
        }
        else
        {
            CloseHandle(h_timer);
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Player_Death(Handle:event, const String:name[], bool:dontBroadcast)
{
    new clients = GetClientOfUserId(GetEventInt(event, "userid"));
    
    if(Lr)
    {
        if(Lr_Aktif[clients])
        {
            Lr_Aktif[clients] = false;            
            
            Lr = 0;
            Lr_Deagle = 0;
            Lr_NoScope = 0;
            Lr_Knife = 0;
            Kurallar = 0;
    
            LoopClients(i)
            {
                new Handle:hHudText = CreateHudSynchronizer();
                SetHudTextParams(-1.0, -0.40, 5.0, 255, 0, 0, 0);
                ShowSyncHudText(i, hHudText, "%N Lr'de Öldüğü İçin Kaybetmiştir.", clients);
                CloseHandle(hHudText);        
                    
                if(Lr_Aktif[i])
                {
                    ServerCommand("sm_beacon #%d", GetClientUserId(i));      
                    ServerCommand("sm_god #%d 0", GetClientUserId(i));          
                    SetEntityHealth(i, 100);
                    
                    Lr_Aktif[i] = false;    
                    Lr_Sira[i] = false;        
                }
            }                
            
            PrintToChatAll(" \x04[\x02LR\x04] \x0c%N \x0eLr'de Öldüğü İçin \x09Lr'yi \x07Kaybetmiştir.", clients);        
        }
    }
    
    T_Sayisi = 0;
        
    for (new i = 1; i <= MaxClients; i++)
        if(IsClientInGame(i) && IsPlayerAlive(i) && !IsFakeClient(i))    
        {
            if(GetClientTeam(i) == CS_TEAM_T)
            {
                T_Sayisi++;
            }
        }            
    
    
    if(T_Sayisi == 1)
    {                    
        if(!Overlays)
        {
            for (new i = 1; i <= MaxClients; i++)
                if(IsClientInGame(i) && IsPlayerAlive(i) && !IsFakeClient(i))    
                {
                    if(GetClientTeam(i) == CS_TEAM_T)
                    {
                        PrintToChat(i, " \x04[\x02LR\x04] \x0cSona Kaldın Yakışıklı \x0eİsyan, Lr, Kredi \x0cNe Yapmak İstersin?");
                        
                        Overlays = 1;                         
                    }
                }    
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public sonakalanmenu(Handle:menuhandlee, MenuAction:action, client, Position)
{    
    if(action == MenuAction_Select)
    {
        decl String:Item[20];
        GetMenuItem(menuhandlee, Position, Item, sizeof(Item));
        
        new count = 0;    

        if (StrEqual(Item, "lr"))
        {    
            if(aktif)
            {        
                for (new i = 1; i <= MaxClients; i++)
                    if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                    { 
                        count++;
                    }
                       
                    if (count == 1)
                    {
                        ClientCommand(client, "sm_lr");
                        
                        PrintToChatAll(" \x04[\x02LR\x04] \x0c Sona Kalan Mahkum LR Atmayı Seçti.");     
                        PrintHintTextToAll("<font size='20' color='#8B0000'>[LR]</font><font size='20' color='#00FFFF'>Sona Kalan Mahkum LR Atmayı Seçti.");
                        
                        aktif = 1;
                        
                        for (new i = 1; i <= MaxClients; i++)
                            if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                            {                         
                                new Handle:hHudText = CreateHudSynchronizer();
                                SetHudTextParams(-1.0, -0.60, 3.0, 153, 51, 51, 0, 2, 1.0, 0.1, 0.2);    
                                ShowSyncHudText(i, hHudText, "Sona Kalan Mahkum LR Atmayı Seçti.");    
                                CloseHandle(hHudText);
                            }
                    }
                    else
                    {
                         PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                                                         
                    }
            }
            else
            {
                 PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                             
            }
        }                
        
        if (StrEqual(Item, "isyan"))
        {
            if(aktif)
            {        
                count = 0;
                        
                for (new i = 1; i <= MaxClients; i++)
                    if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                    { 
                        count++;
                    }
                       
                    if (count == 1)
                    {
                        GivePlayerItem(client, "weapon_ak47");
                        GivePlayerItem(client, "weapon_m4a1");        
                        GivePlayerItem(client, "weapon_negev");                                
                        GivePlayerItem(client, "weapon_deagle");    
                        GivePlayerItem(client, "weapon_hegrenade");        
                        GivePlayerItem(client, "weapon_molotov");        
                        
                        PrintToChatAll(" \x04[\x02LR\x04] \x0c Sona Kalan Mahkum İsyan Yapmayı Seçti.");     
                        PrintHintTextToAll("<font size='20' color='#8B0000'>[LR]</font><font size='20' color='#00FFFF'>Sona Kalan Mahkum İsyan Yapmayı Seçti.");
                        
                        aktif = 1;    
                        
                        for (new i = 1; i <= MaxClients; i++)
                            if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                            {                         
                                new Handle:hHudText = CreateHudSynchronizer();
                                SetHudTextParams(-1.0, -0.60, 3.0, 153, 51, 51, 0, 2, 1.0, 0.1, 0.2);    
                                ShowSyncHudText(i, hHudText, "Sona Kalan Mahkum İsyan Yapmayı Seçti.");    
                                CloseHandle(hHudText);
                            }
                    }
                    else
                    {
                         PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                                                         
                    }
            }
            else
            {
                 PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                             
            }            
        }
        
        if (StrEqual(Item, "kredi"))
        {        
                
            if(aktif)
            {        
                count = 0;
                        
                for (new i = 1; i <= MaxClients; i++)
                    if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                    { 
                        count++;
                    }
                       
                    if (count == 1)
                    {
                        Store_SetClientCredits(client, Store_GetClientCredits(client) + GetConVarInt(g_Kredi));    
                        ForcePlayerSuicide(client);
                        
                         PrintToChatAll(" \x04[\x02LR\x04] \x0c Sona Kalan Mahkum Kredi Seçti. Otomatik %d kredi verildi.", GetConVarInt(g_Kredi));                                                                                                                                         
                        PrintHintTextToAll("<font size='20' color='#8B0000'>[LR]</font><font size='20' color='#00FFFF'>Sona Kalan Mahkum Kredi Seçti. Otomatik %d kredi verildi.", GetConVarInt(g_Kredi));
                        
                        aktif = 1;    
                        
                        for (new i = 1; i <= MaxClients; i++)
                            if(IsClientInGame(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
                            {                         
                                new Handle:hHudText = CreateHudSynchronizer();
                                SetHudTextParams(-1.0, -0.60, 3.0, 153, 51, 51, 0, 2, 1.0, 0.1, 0.2);    
                                ShowSyncHudText(i, hHudText, "Sona Kalan Mahkum Kredi Seçti. Otomatik %d kredi verildi.", GetConVarInt(g_Kredi));    
                                CloseHandle(hHudText);
                            }
                    }
                    else
                    {
                         PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                                                         
                    }
            }
            else
            {
                 PrintToChat(client, " \x04[\x02LR\x04] \x0c Bu Menü Şuanda \x05 Aktif \x04 Değil.");                                             
            }        
        }
        
    } else if(action == MenuAction_End)
    {
        CloseHandle(menuhandlee);
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public El_Basi_Sonu(Handle:event, const String:name[], bool:dontBroadcast)
{
    Lr = 0;
    Lr_Deagle = 0;
    Lr_NoScope = 0;
    Lr_Knife = 0;
    Kurallar = 0;
    Overlays = 0;
    aktif = 0;
    Lr_Kazanan_CT = 0;
    LrKazanan = 0;        
    KomutcuVar = 0;    
    SetConVarInt(FindConVar("sm_hosties_lr"), 0);
        
    CloseHandle(menuhandlee);
    
    LoopClients(i)
    {
        Lr_Aktif[i] = false;
        Lr_Sira[i] = false;
        Komutcu[i] = false;    
        
        SDKUnhook(i, SDKHook_PreThink, OnPreThink);
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public LrKazananMENU(Handle:menuhandle, MenuAction:action, client, Position)
{    
    if(action == MenuAction_Select)
    {
        decl String:Item[20];
        GetMenuItem(menuhandle, Position, Item, sizeof(Item));
            
        if (StrEqual(Item, "KorumaOlsun"))
        {    
            PrintToChatAll(" \x04[\x02LR\x04] \x0cLr'yi Kazanan \x07Koruma \x09Olacaktır.");
            
            Lr_Kazanan_CT = 1;
            LrKazanan = 1;            
        }    

        if (StrEqual(Item, "KorumaOlmasin"))
        {
            PrintToChatAll(" \x04[\x02LR\x04] \x0cLr'yi Kazanan \x07Koruma \x09Olmayacaktır.");
            
            Lr_Kazanan_CT = 0;
            LrKazanan = 1;            
        }    
        
    } else if(action == MenuAction_End)
    {
        CloseHandle(menuhandle);
    }
}
//////////////////////////////////////////////////////////////////////////////////////
public Player_Hurt(Handle:event, const String:name[], bool:dontBroadcast)
{
    int victim = GetClientOfUserId(GetEventInt(event, "userid"));        
    int attacker = GetClientOfUserId(GetEventInt(event, "attacker"));    

    if(Lr_Kazanan_CT)
    {
        if(GetClientTeam(attacker) && CS_TEAM_T && GetClientTeam(victim) == CS_TEAM_CT)
        {
            if(IsClientInGame(victim) && !IsFakeClient(victim) && IsClientInGame(attacker) && !IsFakeClient(attacker))
            {    
                int KalanHP = GetClientHealth(victim);
    
                if (0 < KalanHP)
                {
                    // EMPTY //
                }
                else
                {
                    ChangeClientTeam(victim, 2);
                    
                    ChangeClientTeam(attacker, 3);
                    
                    new String:AttackerIsmi[32], String:VictimIsmi[32];
                    GetClientName(attacker, AttackerIsmi, sizeof(AttackerIsmi));                
                    GetClientName(victim, VictimIsmi, sizeof(VictimIsmi));
                    
                    PrintToChat(attacker, " \x04[\x02LR\x04] \x0cLR'yi Kazandığın İçin \x0eGardiyan \x07Oldun.");    
                    PrintToChat(victim, " \x04[\x02LR\x04] \x0cLR'yi Kaybettiğin İçin \x0eMahkum \x07Takımına Atıldın.");    
                    PrintToChatAll(" \x04[\x02LR\x04] \x0cLR'yi Mahkum Kazandığı İçin \x0eYeni Gardiyan \x09%s \x07Oldu.", AttackerIsmi);    
                    
                    Lr_Kazanan_CT = 0;
                    LrKazanan = 0;
                    
                    for (new i = 1; i <= MaxClients; i++)
                        if(IsClientInGame(i))
                        {                 
                            if(IsPlayerAlive(i))
                            {
                                ForcePlayerSuicide(i);
                            }
                        }
                }                
            }
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////
LrKazanann()
{
    if(!LrKazanan)
    {
        for (new i = 1; i <= MaxClients; i++)
        {
            if (IsClientInGame(i))
            {        
                if(GetClientTeam(i) == CS_TEAM_CT && Komutcu[i])                
                {   
                    new Handle:menuhandle = CreateMenu(LrKazananMENU);
                    SetMenuTitle(menuhandle, "[LR] LR Korumayı Alan?");
                    AddMenuItem(menuhandle, "KorumaOlsun", "Koruma Olsun");
                    AddMenuItem(menuhandle, "KorumaOlmasin", "Koruma Olmasın");
                    SetMenuPagination(menuhandle, 7);
                    SetMenuExitButton(menuhandle, false);
                    DisplayMenu(menuhandle, i, 20);                                                    
                }
            }
        }    
    }
}
//////////////////////////////////////////////////////////////////////////////////////    
public Action:OnPreThink(client)
{
    SetNoScope(GetPlayerWeaponSlot(client, 0));
}
//////////////////////////////////////////////////////////////////////////////////////    
stock SetNoScope(weapon)
{
    if (IsValidEdict(weapon))
    {
        decl String:classname[MAX_NAME_LENGTH];
        if (GetEdictClassname(weapon, classname, sizeof(classname))
             || StrEqual(classname[7], "ssg08") || StrEqual(classname[7], "aug")
             || StrEqual(classname[7], "sg550") || StrEqual(classname[7], "sg552")
             || StrEqual(classname[7], "sg556") || StrEqual(classname[7], "awp")
             || StrEqual(classname[7], "scar20") || StrEqual(classname[7], "g3sg1"))
        {
            SetEntDataFloat(weapon, m_flNextSecondaryAttack, GetGameTime() + 1.0);
        }
    }
}
//////////////////////////////////////////////////////////////////////////////////////

Sorun : 

Kod :
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// Gelismis_Lr.sp
//
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\smlib/entities.inc(1773) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0,12 sec
// ----------------------------------------

Press enter to exit ...
Şuan Offine!
Şuan Offine!
northeaster YÖNETİCİ
*******
Yönetici
  • Konular53
  • Mesajlar69
  • Rep puanı 3
Hata smlib kütüphanenizin eski olmasindan kaynaklanıyor.


Ek Dosyalar
.zip   sm-1-10-smlib.zip (Dosya Boyutu: 66.42 KB / İndirme Sayısı: 4)
Şuan Offine!
Şuan Offine!
GinHoshi Üye
*
Üye
  • Konular1
  • Mesajlar3
  • Rep puanı 0
Sanırım şimdide store ile ilgili sorun veriyor
Hata :
Kod :
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// Gelismis_Lr.sp
//
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\store.inc(24) : error 050: constant 'szName' already defined
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\store.inc(55) : error 050: constant 'iId' already defined
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\store.inc(78) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\store.inc(79) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\include\store.inc(82) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(55) : error 029: invalid expression, assumed zero
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(137) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(152) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(237) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(260) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(276) : warning 209: function "OnTakeDamage" should return a value
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(416) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(417) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(418) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(428) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(429) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(430) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(440) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(441) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(442) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(493) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(494) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(532) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(566) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(680) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(681) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(682) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(683) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(684) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(685) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(686) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(719) : warning 219: local variable "client" shadows a variable at a preceding level
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(738) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(743) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(797) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(798) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(799) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(800) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(801) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(848) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(855) : warning 219: local variable "menuhandlee" shadows a variable at a preceding level
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(881) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(927) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(970) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1000) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1001) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1002) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1003) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1004) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1005) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1006) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1007) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1008) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1009) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1035) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1036) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1043) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1044) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1084) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(1085) : warning 213: tag mismatch
// E:\Yeni klas÷r\Compressed\Plugin_Ar■iv_V2\Compiler 1.10\Gelismis_Lr.sp(6) : warning 203: symbol is never used: "g_cvarChatTag"
//
// 3 Errors.
//
// Compilation Time: 0,92 sec
// ----------------------------------------

Press enter to exit ...
Şuan Offine!
Şuan Offine!
ByDexter Yetkili
*****
Yetkili
  • Konular22
  • Mesajlar25
  • Rep puanı 1
Sourcemod 1.9 compilerını kullan.
[Resim: GmjwZ2.png]
Şuan Offine!
Şuan Offine!
northeaster YÖNETİCİ
*******
Yönetici
  • Konular53
  • Mesajlar69
  • Rep puanı 3
(14/09/2020, 18:12)ByDexter Adlı Kullanıcıdan Alıntı: Sourcemod 1.9 compilerını kullan.
Hata 1.10 ile ilgili değil. Bu seferde store kütüphanelerinden kaynaklıdır. 1.10 için olan store kütüphanesi ile derlemelidir.
Şuan Offine!
Şuan Offine!
GinHoshi Üye
*
Üye
  • Konular1
  • Mesajlar3
  • Rep puanı 0
Kxnrl nin store.inc ini alıp compile ettiğimde errorle karşılaşmadım sadece warningler kaldı herhangi bir sorun yaratır mı acaba
Şuan Offine!
Şuan Offine!
ByDexter Yetkili
*****
Yetkili
  • Konular22
  • Mesajlar25
  • Rep puanı 1
(14/09/2020, 20:33)GinHoshi Adlı Kullanıcıdan Alıntı: Kxnrl nin store.inc ini alıp compile ettiğimde errorle karşılaşmadım sadece warningler kaldı herhangi bir sorun yaratır mı acaba
Eğer firmanız Zephyrus marketini kullanıyorsa eklenti çalışmaz, ayrıca @northeaster market kütüphanesinin 1.10 sürümü şu an her yerden kaldırıldı önceden olan kişilerde bulunmakta marketi 1.10 güncelleyen Bara kaldırıldığı için şu an güncel bir şekilde bir kaynakta yok o yüzden 1.9 ile compile etmesi yeterli olacaktır.
[Resim: GmjwZ2.png]
Şuan Offine!
Şuan Offine!
northeaster YÖNETİCİ
*******
Yönetici
  • Konular53
  • Mesajlar69
  • Rep puanı 3
1.9 'u https://www.sourcemod.net/downloads.php?...-dev&all=1 buradan indirebilirsin.
Şuan Offine!
Şuan Offine!
Henny! Destekçi
***
Destekçi
  • Konular0
  • Mesajlar1
  • Rep puanı 0
Hataların (veya uyarıların) geneli eklenti ile alakalı eğer sunucu firman güncel Sourcemod kullanıyorsa güncel derleyeceği kullan yoksa sunucunu boş yere yoracaksın, store.inc dosyasını at sana düzeltip göndereyim. En çoktan hatalarını düzeltirim düzgün derlersin eklentiyi.


Hızlı Menü: