Raised This Month: $51 Target: $400
 12% 

Delete


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RoadSide Romeo
Member
Join Date: Jan 2014
Location: Russian Federation
Plugin ID:
5074
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    -----
    Unapprover:
    Reason for Unapproving:
    no content
    Old 03-04-2016 , 10:52   Delete
    Reply With Quote #1

    Please delete this the thread.

    Last edited by RoadSide Romeo; 01-09-2018 at 12:57. Reason: Update
    RoadSide Romeo is offline
    Saint Sinner
    Senior Member
    Join Date: Feb 2016
    Old 03-04-2016 , 11:16   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #2

    I need only anti backstab and 1vs1 ... Can you remove all and get me only backstab and 1vs1?

    Last edited by Saint Sinner; 03-04-2016 at 11:18.
    Saint Sinner is offline
    JusTGo
    Veteran Member
    Join Date: Mar 2013
    Old 03-04-2016 , 11:34   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #3

    Quote:
    Originally Posted by Saint Sinner View Post
    I need only anti backstab and 1vs1 ... Can you remove all and get me only backstab and 1vs1?
    PHP Code:
    kd_knifedm 0                // Enable/Disable deathmatch mode
    kd_noblock 0                // Enable/Disable noblock mode
    kd_fixer35hp 0                // Enable/Disable fixer35hp
    kd_blockbackstab 1            // Enable/Disable protection of players from hitting the back
    kd_blockchainkill 0            // Enable/Disable protection of a player for some time after he made frag
    kd_blockgang 0                // Enable/Disable player protection from the crowd
    kd_colorafk 0                // Enable/Disable protective coloration AFK-players
    kd_colorantichain 1            // Enable/Disable protective coloring against the crowd
    kd_distance 0                // Enable/Disable distance manager
    kd_distancemeasure 0            // 0 - meters, 1 - feets
    kd_servercvar_enforce 1            // Enable/Disable server cvar enforcer 
    __________________
    JusTGo is offline
    Saint Sinner
    Senior Member
    Join Date: Feb 2016
    Old 03-04-2016 , 11:46   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #4

    I do not want a big code only for anti backstab + 1vs1 can u extract anti backstab separated and 1vs1 separated?
    Saint Sinner is offline
    RoadSide Romeo
    Member
    Join Date: Jan 2014
    Location: Russian Federation
    Old 03-04-2016 , 12:00   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #5

    Quote:
    Originally Posted by Saint Sinner View Post
    I do not want a big code only for anti backstab + 1vs1 can u extract anti backstab separated and 1vs1 separated?
    The plugin is practically not ship the server, I think you can put a plug in this way and simply disable all functions except the right
    RoadSide Romeo is offline
    raizo11
    BANNED
    Join Date: Dec 2013
    Location: https://t.me/pump_upp
    Old 03-04-2016 , 12:24   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #6

    Quote:
    Originally Posted by Saint Sinner View Post
    I need only anti backstab and 1vs1 ... Can you remove all and get me only backstab and 1vs1?

    Here 1vs1 : darkness solution have good method

    https://forums.alliedmods.net/showthread.php?t=259005

    and here anti backstab

    Code:
    #include <sourcemod>
    #include <sdkhooks>
    #include <cstrike>
    
    public OnClientPutInServer(client){
    	SDKHook(client, SDKHook_OnTakeDamage, OnTakeDamage);
    }
    
    public OnClientDisconnect(client){
    	SDKUnhook(client, SDKHook_OnTakeDamage, OnTakeDamage);
    }
    
    public Action:OnTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype){
    	if(victim <= 0 && victim > MaxClients){ return Plugin_Continue; }
    	if(attacker <= 0 || attacker > MaxClients){ return Plugin_Continue; }
    	if(damage > 66.0){
    		new String:wep[64];GetClientWeapon(attacker, wep, sizeof(wep));
    		if(StrEqual(wep, "weapon_knife", false)){
    			PrintToChat(attacker, "\x01[SM]\x04 Backstab detected!");
    			ClientCommand(attacker, "play *weapons/awp/awp1.wav");
    			damage = 0.0;
    			CS_RespawnPlayer(attacker);
    			return Plugin_Changed;
    		}
    	}
    	return Plugin_Continue;
    }

    Last edited by raizo11; 03-04-2016 at 14:33.
    raizo11 is offline
    Send a message via ICQ to raizo11 Send a message via AIM to raizo11 Send a message via MSN to raizo11 Send a message via Yahoo to raizo11 Send a message via Skype™ to raizo11
    666pro
    New Member
    Join Date: Aug 2016
    Old 08-17-2016 , 12:35   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #7

    Goes to crash the server

    Quote:
    L 08/17/2016 - 20:20:51: SourceMod error session started
    L 08/17/2016 - 20:20:51: Info (map "35hp_dust_go") (file "errors_20160817.log")
    L 08/17/2016 - 20:20:51: [SM] Exception reported: Client index 0 is invalid
    L 08/17/2016 - 20:20:51: [SM] Blaming: KnifeDozor.smx()
    L 08/17/2016 - 20:20:51: [SM] Call stack trace:
    L 08/17/2016 - 20:20:51: [SM] [0] GetClientAbsOrigin
    L 08/17/2016 - 20:20:51: [SM] [1] Line 417, KnifeDozor.sp:eathClient()
    L 08/17/2016 - 20:25:13: [SM] Exception reported: Client index 0 is invalid
    L 08/17/2016 - 20:25:13: [SM] Blaming: KnifeDozor.smx()
    L 08/17/2016 - 20:25:13: [SM] Call stack trace:
    L 08/17/2016 - 20:25:13: [SM] [0] GetClientAbsOrigin
    L 08/17/2016 - 20:25:13: [SM] [1] Line 417, KnifeDozor.sp:eathClient()
    L 08/17/2016 - 20:264: [SM] Exception reported: Client index 0 is invalid
    L 08/17/2016 - 20:264: [SM] Blaming: KnifeDozor.smx()
    L 08/17/2016 - 20:264: [SM] Call stack trace:
    L 08/17/2016 - 20:264: [SM] [0] GetClientAbsOrigin
    L 08/17/2016 - 20:264: [SM] [1] Line 417, KnifeDozor.sp:eathClient()
    L 08/17/2016 - 20:29:16: [SM] Exception reported: Client index 0 is invalid
    L 08/17/2016 - 20:29:16: [SM] Blaming: KnifeDozor.smx()
    L 08/17/2016 - 20:29:16: [SM] Call stack trace:
    L 08/17/2016 - 20:29:16: [SM] [0] GetClientAbsOrigin
    L 08/17/2016 - 20:29:16: [SM] [1] Line 417, KnifeDozor.sp:eathClient()
    666pro is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 08-17-2016 , 17:01   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #8

    You need to modify the line 411 to
    Quote:
    if(0 < client <= MaxClients && 0 < attacker <= MaxClients && attacker != client && GetConVarBool(g_hKDDistance))
    __________________
    Grey83 is offline
    Nachtfrische
    Member
    Join Date: Aug 2015
    Location: Dream Community
    Old 03-10-2017 , 09:44   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #9

    Plugin is working but this is found quite often in my logs:
    Code:
    L 03/10/2017 - 00:35:09: [SM] Exception reported: Client index 0 is invalid
    L 03/10/2017 - 00:35:09: [SM] Blaming: KnifeDozor.smx
    L 03/10/2017 - 00:35:09: [SM] Call stack trace:
    L 03/10/2017 - 00:35:09: [SM]   [0] GetClientAbsOrigin
    L 03/10/2017 - 00:35:09: [SM]   [1] Line 417, KnifeDozor.sp::DeathClient
    Nachtfrische is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 03-10-2017 , 10:02   Re: [CS:S/CS:GO] Knife Dozor
    Reply With Quote #10

    Nachtfrische, read a message from 18 August
    __________________
    Grey83 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:53.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode