Buyzone Protector 2.1

Защита игроков внутри зоны закупки

  1. Reiko1231

    Reiko1231 AlexTheRegent

    Сообщения:
    314
    Симпатии:
    721
    Пользователь Reiko1231 разместил новый ресурс:

    Buyzone Protector - Защита игроков внутри зоны закупки

    Узнать больше об этом ресурсе...
     
  2. hovo

    hovo

    Сообщения:
    9
    Симпатии:
    0
    исправь кодировку
     
  3. -_-Ecarus-_-

    -_-Ecarus-_-

    Сообщения:
    75
    Симпатии:
    0
    Зона защиты не выделяется, что делать?
     
  4. Real_Faya

    Real_Faya Жуестер

    Сообщения:
    206
    Симпатии:
    21
    @Reiko1231 из за чего ошибка?
    L 03/09/2017 - 16:03:52: [SM] Exception reported: Invalid timer handle c21a05ba (error 3)
    L 03/09/2017 - 16:03:52: [SM] Blaming: buyzone_protector.smx
    L 03/09/2017 - 16:03:52: [SM] Call stack trace:
    L 03/09/2017 - 16:03:52: [SM] [0] KillTimer
    L 03/09/2017 - 16:03:52: [SM] [1] Line 146, D:\Загрузки\sourcemod-1.8.0-git5969-windows\addons\sourcemod\scripting\buyzone_protector.sp::OnPluginEnd
    Вот мой исходник:

    PHP:
    // =============================================================
    // >> INCLUDES
    // =============================================================
    #include <sourcemod>
    #include <sdktools>
    #include <sdkhooks>
    #include <csgo_colors>


    // =============================================================
    // >> PLUGIN INFORMATION
    // =============================================================
    public Plugin:myinfo =
    {
        
    name         "[ BuyZone Protector ]",
        
    author         "Regent",
        
    description "protects certain time players, which inside of their buy zone",
        
    version     "2.1",
        
    url         ""
    };


    // =============================================================
    // >> DEFINES
    // =============================================================
    #define EFFECT_MODEL        "materials/sprites/laserbeam.vmt"


    // =============================================================
    // >> CONSOLE VARIABLES
    // =============================================================
    new Handle:    g_hConVar_sCTLineColor;
    new 
    Handle:    g_hConVar_sTLineColor;
    new 
    Handle:    g_hConVar_flProtectionTime;
    new 
    Handle:    g_hConVar_bDrawProtectionZone;
    new 
    Handle:    g_hConVar_bRestrictShootFromZone;
    new 
    Handle:    g_hConVar_bChangeColor;
    new 
    Handle:    g_hConVar_sChangeColorCT;
    new 
    Handle:    g_hConVar_sChangeColorT;
    new 
    Handle:    g_hConVar_bNotice;


    // =============================================================
    // >> SHADOW CONSOLE VARIABLES
    // =============================================================
    new Float:    g_flProtectionTime;
    new 
    bool:    g_bDrawProtectionZone;
    new 
    bool:    g_bRestrictShootFromZone;
    new 
    bool:    g_bChangeColor;
    new 
    bool:    g_bNotice;
    new         
    g_iCTLineColor[4];
    new         
    g_iTLineColor[4];
    new         
    g_iCTColor[4];
    new         
    g_iTColor[4];


    // =============================================================
    // >> GLOBAL VARIABLES
    // =============================================================
    new Handle:    g_hProtectionTimer    INVALID_HANDLE;

    new 
    Float:    g_flTBuyZoneMins[2][3];
    new 
    Float:    g_flTBuyZoneMaxs[2][3];
    new 
    Float:    g_flCTBuyZoneMins[2][3];
    new 
    Float:    g_flCTBuyZoneMaxs[2][3];

    new            
    g_iModelEntity;


    // =============================================================
    // >> PLUGIN SOURCE CODE
    // =============================================================
    public OnPluginStart()
    {
        
    LoadTranslations("buyzone_protector.phrases.txt");
       
        
    g_hConVar_bDrawProtectionZone         CreateConVar("sm_bzp_drawzone""1""ENG: draw (1) or not (0) zone of protection\nRUS: рисовать (1) или нет (0) зону защиты"FCVAR_PLUGIN);
        
    g_hConVar_flProtectionTime             CreateConVar("sm_bzp_prottime""20.0""ENG: how long in seconds will lasts protection of buyzone\nRUS: как долго в секундах будет длится защита зон покупок"FCVAR_PLUGIN);
        
    g_hConVar_sCTLineColor                 CreateConVar("sm_bzp_ctlinecolor""0 0 255 255""ENG: color of lines ct zone\nRUS: цвет зоны КТ"FCVAR_PLUGIN);
        
    g_hConVar_sTLineColor                 CreateConVar("sm_bzp_tlinecolor""255 0 0 255""ENG: color of lines t zone\nRUS: цвет зоны Т"FCVAR_PLUGIN);
        
    g_hConVar_bRestrictShootFromZone     CreateConVar("sm_bzp_restrictshoot""1""ENG: allow (0) or not (1) shooting from their zone or not\nRUS: разрешить (0) или нет (1) стрелять из своих зон или нет"FCVAR_PLUGIN);
        
    g_hConVar_bChangeColor                CreateConVar("sm_bzp_changecolor""1""ENG: change (0) or not (1) player color in their zone\nRUS: изменять (0) или нет (1) цвет игроков в своих зонах"FCVAR_PLUGIN);
        
    g_hConVar_sChangeColorCT            CreateConVar("sm_bzp_changecolorct""0 0 255 125""ENG: color of CT in their zone while protect lasts\nRUS: цвет КТ в своей зоне, пока защита активна"FCVAR_PLUGIN);
        
    g_hConVar_sChangeColorT                CreateConVar("sm_bzp_changecolort""255 0 0 125""ENG: color of T in their zone while protect lasts\nRUS: цвет Т в своей зоне, пока защита активна"FCVAR_PLUGIN);
        
    g_hConVar_bNotice                    CreateConVar("sm_bzp_notice""1""ENG: allow (0) or not (1) sending messages about entering/leaving zones\nRUS: разрешить (0) или нет (1) плагину сообщать игрокам о входе/покидании зоны"FCVAR_PLUGIN);
       
        
    HookConVarChange(g_hConVar_bDrawProtectionZone,     Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_flProtectionTime,         Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_sCTLineColor,             Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_sTLineColor,             Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_bRestrictShootFromZone,     Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_bChangeColor,             Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_sChangeColorCT,             Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_sChangeColorT,             Hook_ConVarChanged);
        
    HookConVarChange(g_hConVar_bNotice,                 Hook_ConVarChanged);
       
        
    HookEvent("round_start"Ev_RoundStart);
        
    AutoExecConfig(true"buyzone_protector");
        
    CreateConVar("sm_bzp_version",    "2.0 by Regent""version of plugin"FCVAR_PLUGIN|FCVAR_NOTIFY|FCVAR_DONTRECORD);
    }

    public 
    Hook_ConVarChanged(Handle:hConVar, const String:sOldValue[], const String:sNewValue[])
    {
        if ( 
    hConVar == g_hConVar_bDrawProtectionZone )
        {
            
    g_bDrawProtectionZone GetConVarBool(g_hConVar_bDrawProtectionZone);
        }
        else if ( 
    hConVar == g_hConVar_flProtectionTime )
        {
            
    g_flProtectionTime GetConVarFloat(g_hConVar_flProtectionTime);
        }
        else if ( 
    hConVar == g_hConVar_sCTLineColor )
        {
            
    StringToIntArray(sNewValueg_iCTLineColor);
        }
        else if ( 
    hConVar == g_hConVar_sTLineColor )
        {
            
    StringToIntArray(sNewValueg_iTLineColor);
        }
        else if ( 
    hConVar == g_hConVar_bRestrictShootFromZone )
        {
            
    g_bRestrictShootFromZone GetConVarBool(g_hConVar_bRestrictShootFromZone);
        }
        else if ( 
    hConVar == g_hConVar_bChangeColor )
        {
            
    g_bChangeColor GetConVarBool(g_hConVar_bChangeColor);
        }
        else if ( 
    hConVar == g_hConVar_bNotice )
        {
            
    g_bNotice GetConVarBool(g_hConVar_bNotice);
        }
        else if ( 
    hConVar == g_hConVar_sChangeColorCT )
        {
            
    StringToIntArray(sNewValueg_iCTColor);
        }
        else if ( 
    hConVar == g_hConVar_sChangeColorT )
        {
            
    StringToIntArray(sNewValueg_iTColor);
        }
    }

    public 
    OnPluginEnd()
    {
        if ( 
    g_hProtectionTimer != INVALID_HANDLE )
        {
            
    KillTimer(g_hProtectionTimer);
            
    g_hProtectionTimer INVALID_HANDLE;
        }
    }

    public 
    OnMapStart()
    {
        
    g_hProtectionTimer INVALID_HANDLE;
       
        new 
    iEntity = -1;
        while ((
    iEntity FindEntityByClassname(iEntity"func_buyzone")) != -1)
        {
            
    decl Float:flOrigin[3], Float:flVecMins[3], Float:flVecMaxs[3];
            new 
    iTeam GetEntProp(iEntityProp_Send"m_iTeamNum");
            
    GetEntPropVector(iEntityProp_Send"m_vecMins"flVecMins);
            
    GetEntPropVector(iEntityProp_Send"m_vecMaxs"flVecMaxs);
            
    GetEntPropVector(iEntityProp_Send"m_vecOrigin"flOrigin);
           
            if ( 
    iTeam == )
            {
                
    g_flTBuyZoneMins[0][0] = flOrigin[0] + flVecMins[0];
                
    g_flTBuyZoneMins[0][1] = flOrigin[1] + flVecMins[1];
                
    g_flTBuyZoneMins[0][2] = flOrigin[2] + flVecMins[2];
                
    g_flTBuyZoneMaxs[0][0] = flOrigin[0] + flVecMaxs[0];
                
    g_flTBuyZoneMaxs[0][1] = flOrigin[1] + flVecMaxs[1];
                
    g_flTBuyZoneMaxs[0][2] = flOrigin[2] + flVecMaxs[2];
               
                
    g_flTBuyZoneMins[1][0] = flOrigin[0] + flVecMins[0];
                
    g_flTBuyZoneMins[1][1] = flOrigin[1] + flVecMaxs[1];
                
    g_flTBuyZoneMins[1][2] = flOrigin[2] + flVecMins[2];
                
    g_flTBuyZoneMaxs[1][0] = flOrigin[0] + flVecMaxs[0];
                
    g_flTBuyZoneMaxs[1][1] = flOrigin[1] + flVecMins[1];
                
    g_flTBuyZoneMaxs[1][2] = flOrigin[2] + flVecMaxs[2];
               
                
    SDKHook(iEntitySDKHook_StartTouchOnTZoneStartTouch);
                
    SDKHook(iEntitySDKHook_EndTouchOnTZoneEndTouch);
            }
            else if ( 
    iTeam == )
            {
                
    g_flCTBuyZoneMins[0][0] = flOrigin[0] + flVecMins[0];
                
    g_flCTBuyZoneMins[0][1] = flOrigin[1] + flVecMins[1];
                
    g_flCTBuyZoneMins[0][2] = flOrigin[2] + flVecMins[2];
                
    g_flCTBuyZoneMaxs[0][0] = flOrigin[0] + flVecMaxs[0];
                
    g_flCTBuyZoneMaxs[0][1] = flOrigin[1] + flVecMaxs[1];
                
    g_flCTBuyZoneMaxs[0][2] = flOrigin[2] + flVecMaxs[2];
               
                
    g_flCTBuyZoneMins[1][0] = flOrigin[0] + flVecMins[0];
                
    g_flCTBuyZoneMins[1][1] = flOrigin[1] + flVecMaxs[1];
                
    g_flCTBuyZoneMins[1][2] = flOrigin[2] + flVecMins[2];
                
    g_flCTBuyZoneMaxs[1][0] = flOrigin[0] + flVecMaxs[0];
                
    g_flCTBuyZoneMaxs[1][1] = flOrigin[1] + flVecMins[1];
                
    g_flCTBuyZoneMaxs[1][2] = flOrigin[2] + flVecMaxs[2];
               
                
    SDKHook(iEntitySDKHook_StartTouchOnCTZoneStartTouch);
                
    SDKHook(iEntitySDKHook_EndTouchOnCTZoneEndTouch);
            }
        }
       
        
    g_iModelEntity PrecacheModel(EFFECT_MODEL);
    }

    public 
    OnConfigsExecuted()
    {
        
    g_bDrawProtectionZone         GetConVarBool    (g_hConVar_bDrawProtectionZone);
        
    g_bRestrictShootFromZone     GetConVarBool    (g_hConVar_bRestrictShootFromZone);
        
    g_bChangeColor                 GetConVarBool    (g_hConVar_bChangeColor);
        
    g_bNotice                     GetConVarBool    (g_hConVar_bNotice);
        
    g_flProtectionTime             GetConVarFloat(g_hConVar_flProtectionTime);
       
        
    decl String:sBuffer[20];
        
    GetConVarString(g_hConVar_sCTLineColorsBuffersizeof(sBuffer) - 1);
        
    StringToIntArray(sBufferg_iCTLineColor);
       
        
    GetConVarString(g_hConVar_sTLineColorsBuffersizeof(sBuffer) - 1);
        
    StringToIntArray(sBufferg_iTLineColor);
       
        
    GetConVarString(g_hConVar_sChangeColorCTsBuffersizeof(sBuffer) - 1);
        
    StringToIntArray(sBufferg_iCTColor);
       
        
    GetConVarString(g_hConVar_sChangeColorTsBuffersizeof(sBuffer) - 1);
        
    StringToIntArray(sBufferg_iTColor);
       
        for ( new 
    1<= MaxClientsi++ )
        {
            if ( 
    IsClientInGame(i) )
            {
                
    OnClientPutInServer(i);
            }
        }
    }

    StringToIntArray(const String:sInput[], Array[])
    {
        
    decl String:sBuffer[4][5]
        
    ExplodeString(sInput" "sBuffersizeof(sBuffer), sizeof(sBuffer[]) - 1);
        Array[
    0] = StringToInt(sBuffer[0]);
        Array[
    1] = StringToInt(sBuffer[1]);
        Array[
    2] = StringToInt(sBuffer[2]);
        Array[
    3] = StringToInt(sBuffer[3]);
    }

    public 
    OnClientPutInServer(iClient)
    {
        
    SDKHook(iClientSDKHook_OnTakeDamageOnTakeDamage);
    }

    public 
    OnClientDisconnect_Post(iClient)
    {
        
    SDKUnhook(iClientSDKHook_OnTakeDamageOnTakeDamage);
    }

    public 
    Action:OnTakeDamage(iClient, &iAttacker, &iInflictor, &Float:flDamage, &iDamageType)
    {
        if ( 
    g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetEntProp(iClientProp_Send"m_bInBuyZone") == )
            {
                if ( 
    GetClientTeam(iClient) == )
                {
                    if ( 
    IsClientInside(iClientg_flTBuyZoneMins[0], g_flTBuyZoneMaxs[0]) )
                    {
                        
    flDamage 0.0;
                        return 
    Plugin_Changed;
                    }
                }
                else if ( 
    GetClientTeam(iClient) == )
                {
                    if ( 
    IsClientInside(iClientg_flCTBuyZoneMins[0], g_flCTBuyZoneMaxs[0]) )
                    {
                        
    flDamage 0.0;
                        return 
    Plugin_Changed;
                    }
                }
            }
        }
               
        return 
    Plugin_Continue;
    }

    public 
    Ev_RoundStart(Handle:hEvent, const String:sEvName[], bool:bSilent)
    {
        if ( 
    g_bDrawProtectionZone )
        {
            
    DrawZoneByCoords(g_flCTBuyZoneMinsg_flCTBuyZoneMaxsg_iCTLineColor);
            
    DrawZoneByCoords(g_flTBuyZoneMinsg_flTBuyZoneMaxsg_iTLineColor);
        }
       
        if ( 
    g_hProtectionTimer != INVALID_HANDLE )
        {
            
    KillTimer(g_hProtectionTimer);
        }
        
    g_hProtectionTimer CreateTimer(g_flProtectionTimeTimer_RemoveProtection_TIMER_FLAG_NO_MAPCHANGE);
    }

    public 
    Action:Timer_RemoveProtection(Handle:hTimerany:data)
    {
        for ( new 
    1<= MaxClientsi++ )
        {
            if ( 
    IsClientInGame(i) )
            {
                if ( 
    GetClientTeam(i) == )
                {
                    if ( 
    IsClientInside(ig_flTBuyZoneMins[0], g_flTBuyZoneMaxs[0]) )
                    {
                        if ( 
    g_bNotice )
                        {
                            
    CGOPrintToChat(i"%t""ended");
                        }
                        if ( 
    g_bChangeColor )
                        {
                            
    SetEntityRenderColor(i255255255255);
                            
    SetEntityRenderMode(iRENDER_NORMAL);
                        }
                    }
                }
                else if ( 
    GetClientTeam(i) == )
                {
                    if ( 
    IsClientInside(ig_flCTBuyZoneMins[0], g_flCTBuyZoneMaxs[0]) )
                    {
                        if ( 
    g_bNotice )
                        {
                            
    CGOPrintToChat(i"%t""ended");
                        }
                        if ( 
    g_bChangeColor )
                        {
                            
    SetEntityRenderColor(i255255255255);
                            
    SetEntityRenderMode(iRENDER_NORMAL);
                        }
                    }
                }
            }
        }
       
        
    g_hProtectionTimer INVALID_HANDLE;
        return 
    Plugin_Stop;
    }

    DrawZoneByCoords(const Float:flMins[2][3], const Float:flMaxs[2][3], const iColor[4])
    {
        
    decl Float:flBuffer1[3], Float:flBuffer2[3];
       
        
    flBuffer1[0] = flMaxs[0][0];
        
    flBuffer1[1] = flMaxs[0][1];
        
    flBuffer1[2] = flMaxs[0][2];
        
    flBuffer2[0] = flMaxs[1][0];
        
    flBuffer2[1] = flMaxs[1][1];
        
    flBuffer2[2] = flMaxs[0][2];
       
        
    TE_SetupBeamPoints(flBuffer1flBuffer2g_iModelEntity000g_flProtectionTime20.020.000.0iColor0);
        
    TE_SendToAll();
       
        
    flBuffer1[0] = flMaxs[0][0];
        
    flBuffer1[1] = flMaxs[0][1];
        
    flBuffer1[2] = flMaxs[0][2];
        
    flBuffer2[0] = flMins[1][0];
        
    flBuffer2[1] = flMins[1][1];
        
    flBuffer2[2] = flMaxs[0][2];
        
    TE_SetupBeamPoints(flBuffer1flBuffer2g_iModelEntity000g_flProtectionTime20.020.000.0iColor0);
        
    TE_SendToAll();
       
        
    flBuffer1[0] = flMins[0][0];
        
    flBuffer1[1] = flMins[0][1];
        
    flBuffer1[2] = flMaxs[0][2];
        
    flBuffer2[0] = flMaxs[1][0];
        
    flBuffer2[1] = flMaxs[1][1];
        
    flBuffer2[2] = flMaxs[0][2];
        
    TE_SetupBeamPoints(flBuffer1flBuffer2g_iModelEntity000g_flProtectionTime20.020.000.0iColor0);
        
    TE_SendToAll();
       
        
    flBuffer1[0] = flMins[0][0];
        
    flBuffer1[1] = flMins[0][1];
        
    flBuffer1[2] = flMaxs[0][2];
        
    flBuffer2[0] = flMins[1][0];
        
    flBuffer2[1] = flMins[1][1];
        
    flBuffer2[2] = flMaxs[0][2];
        
    TE_SetupBeamPoints(flBuffer1flBuffer2g_iModelEntity000g_flProtectionTime20.020.000.0iColor0);
        
    TE_SendToAll();
    }

    bool:IsClientInside(const &iClient, const Float:flMins[3], const Float:flMaxs[3])
    {
        
    decl Float:flOrigin[3];
        
    GetClientAbsOrigin(iClientflOrigin);
       
        if (
    flOrigin[0] >= flMins[0] && flOrigin[0] <= flMaxs[0] &&
            
    flOrigin[1] >= flMins[1] && flOrigin[1] <= flMaxs[1] &&
            
    flOrigin[2] >= flMins[2] && flOrigin[2] <= flMaxs[2])
        {
            return 
    true;
        }
        else
        {
            return 
    false;
        }
    }

    public 
    Action:OnPlayerRunCmd(iClient, &buttons, &impulseFloat:vel[3], Float:angles[3], &weapon, &subtype, &cmdnum, &tickcount, &seedmouse[2])
    {
        if ( 
    g_bRestrictShootFromZone && g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetEntProp(iClientProp_Send"m_bInBuyZone") == )
            {
                if ( 
    buttons IN_ATTACK )
                {
                    if ( 
    GetClientTeam(iClient) == )
                    {
                        if ( 
    IsClientInside(iClientg_flTBuyZoneMins[0], g_flTBuyZoneMaxs[0]) )
                        {
                            
    buttons &= ~IN_ATTACK;
                            
    PrintCenterText(iClient"%t""shoot blocked");
                        }
                    }
                    else if ( 
    GetClientTeam(iClient) == )
                    {
                        if ( 
    IsClientInside(iClientg_flCTBuyZoneMins[0], g_flCTBuyZoneMaxs[0]) )
                        {
                            
    buttons &= ~IN_ATTACK;
                            
    PrintCenterText(iClient"%t""shoot blocked");
                        }
                    }
                }
            }
        }
    }

    public 
    OnTZoneStartTouch(iEntityiToucher)
    {
        if ( 
    iToucher <= MaxClients && g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetClientTeam(iToucher) == )
            {
                if ( 
    g_bNotice )
                {
                    
    CGOPrintToChat(iToucher"%t""entered");
                }
                if ( 
    g_bChangeColor )
                {
                    
    SetEntityRenderMode(iToucherRENDER_TRANSCOLOR);
                    
    SetEntityRenderColor(iToucherg_iTColor[0], g_iTColor[1], g_iTColor[2], g_iTColor[3]);
                }
            }
        }
    }

    public 
    OnCTZoneStartTouch(iEntityiToucher)
    {
        if ( 
    iToucher <= MaxClients && g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetClientTeam(iToucher) == )
            {
                if ( 
    g_bNotice )
                {
                    
    CGOPrintToChat(iToucher"%t""entered");
                }
                if ( 
    g_bChangeColor )
                {
                    
    SetEntityRenderMode(iToucherRENDER_TRANSCOLOR);
                    
    SetEntityRenderColor(iToucherg_iCTColor[0], g_iCTColor[1], g_iCTColor[2], g_iCTColor[3]);
                }
            }
        }
    }

    public 
    OnTZoneEndTouch(iEntityiToucher)
    {
        if ( 
    iToucher <= MaxClients && g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetClientTeam(iToucher) == )
            {
                if ( 
    g_bNotice )
                {
                    
    CGOPrintToChat(iToucher"%t""leaved");
                }
                if ( 
    g_bChangeColor )
                {
                    
    SetEntityRenderColor(iToucher255255255255);
                    
    SetEntityRenderMode(iToucherRENDER_NORMAL);
                }
            }
        }
    }

    public 
    OnCTZoneEndTouch(iEntityiToucher)
    {
        if ( 
    iToucher <= MaxClients && g_hProtectionTimer != INVALID_HANDLE )
        {
            if ( 
    GetClientTeam(iToucher) == )
            {
                if ( 
    g_bNotice )
                {
                    
    CGOPrintToChat(iToucher"%t""leaved");
                }
                if ( 
    g_bChangeColor )
                {
                    
    SetEntityRenderColor(iToucher255255255255);
                    
    SetEntityRenderMode(iToucherRENDER_NORMAL);
                }
            }
        }
    }
     
    Последнее редактирование: 9 мар 2017
  5. kleuser

    kleuser

    Сообщения:
    875
    Симпатии:
    171
    @Reiko1231, обнови пожалуйста для SM 1.8
    //// buyzone_protector.sp
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(76) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(77) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(78) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(79) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(80) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(81) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(82) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(83) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(84) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(98) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(152) : warning 215: expression has no effect
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(152) : error 001: expected token: ";", but found "┬"
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(152) : error 029: invalid expression, assumed zero
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(152) : error 029: invalid expression, assumed zero
    // D:\Dev\clear_sm18\scripting\buyzone_protector.sp(152) : fatal error 190: too many error messages on one line
    //
    // Compilation aborted.
    // 4 Errors.
    //
    // Compilation Time: 0,31 sec
    // ----------------------------------------
     
    Последнее редактирование: 30 сен 2017