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

[CS:GO] Nadeblock Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
zhell
Member
Join Date: Oct 2016
Location: Sweden
Plugin ID:
7171
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple plugins that re-implements the nadeblock functionality that valve kindly removed
    Old 06-23-2020 , 10:20   [CS:GO] Nadeblock Fix
    Reply With Quote #1

    A simple plugin i quickly threw together when HNS players on my servers told me nadeblocking wasn't working after valve accidentally (?) removed it.

    Edit:

    v1.1:
    - Changed so you keep 20 horizontal velocity when hit to more closely emulate the original functionality.
    - Added a check for if the damage is lower or equal to 1, aka fixing the molotov stuck issue. (Thanks ByDexter!).
    - Minor code fix (Thanks amirsz!).

    You will still get fully stopped when getting hit by a grenade explosion for 1 damage or lower and if anyone knows a better solution than what i did let me know
    Attached Files
    File Type: sp Get Plugin or Get Source (nadeblock.sp - 497 views - 1.9 KB)
    __________________
    Community Servers: zhell.nu
    Steam: zhell
    Discord: zhell#7227

    Contact me on Steam for inquiries

    Last edited by zhell; 06-25-2020 at 07:19.
    zhell is offline
    powerind
    Junior Member
    Join Date: Oct 2018
    Location: Iceland
    Old 06-23-2020 , 10:32   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #2

    Great plugin! Been running it for 16 minutes! (23rd of June, 2020, 14 : 32 GMT+0 here)

    Amazing, outstanding, love your work!

    A lot of people are confused how I have had the plugin for 16 minutes when this thread was only 12 minutes alive when I commented!
    How did you do it powerind?? : I have early access to zhell's onlyfans, that's how. Please stop messaging me about this, please!

    Last edited by powerind; 06-23-2020 at 10:35.
    powerind is offline
    zwolofmeister
    Member
    Join Date: Aug 2018
    Old 06-23-2020 , 11:13   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #3

    Outstanding performance by the one and only zhell!
    Köp vip and stay safe!!
    zwolofmeister is offline
    Trum
    AlliedModders Donor
    Join Date: Jan 2017
    Old 06-23-2020 , 14:02   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #4

    yes
    Trum is offline
    ByDexter
    Member
    Join Date: Apr 2019
    Location: Turkey (Istanbul)
    Old 06-24-2020 , 04:41   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #5

    [BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.
    ByDexter is offline
    zwolofmeister
    Member
    Join Date: Aug 2018
    Old 06-24-2020 , 06:00   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #6

    Quote:
    Originally Posted by ByDexter View Post
    [BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.
    Wdum Remains inside???

    Last edited by zwolofmeister; 06-24-2020 at 06:01.
    zwolofmeister is offline
    amirsz
    New Member
    Join Date: Apr 2017
    Old 06-24-2020 , 06:32   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #7

    Change on
    Code:
    if (StrContains(weapon, "grenade") != -1 || StrContains(weapon, "decoy") != -1 || StrContains(weapon, "flash") != -1)
    otherwise it will block

    Sorry for my English
    amirsz is offline
    zhell
    Member
    Join Date: Oct 2016
    Location: Sweden
    Old 06-25-2020 , 05:39   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #8

    Quote:
    Originally Posted by ByDexter View Post
    [BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.
    Fixed, thanks!

    Quote:
    Originally Posted by amirsz View Post
    Change on
    Code:
    if (StrContains(weapon, "grenade") != -1 || StrContains(weapon, "decoy") != -1 || StrContains(weapon, "flash") != -1)
    otherwise it will block

    Sorry for my English
    Updated, thanks! (Although i think anything above 1 counts as true or am i wrong?)
    __________________
    Community Servers: zhell.nu
    Steam: zhell
    Discord: zhell#7227

    Contact me on Steam for inquiries

    Last edited by zhell; 06-25-2020 at 05:47.
    zhell is offline
    wooler
    Junior Member
    Join Date: Apr 2019
    Old 06-25-2020 , 09:30   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #9

    Thx for making this! Ily
    wooler is offline
    zhell
    Member
    Join Date: Oct 2016
    Location: Sweden
    Old 06-25-2020 , 10:19   Re: [CS:GO] Nadeblock Fix
    Reply With Quote #10

    Quote:
    Originally Posted by wooler View Post
    Thx for making this! Ily
    <3
    __________________
    Community Servers: zhell.nu
    Steam: zhell
    Discord: zhell#7227

    Contact me on Steam for inquiries
    zhell 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 18:28.


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