AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Nadeblock Fix (https://forums.alliedmods.net/showthread.php?t=325472)

zhell 06-23-2020 10:20

[CS:GO] Nadeblock Fix
 
1 Attachment(s)
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 :)

powerind 06-23-2020 10:32

Re: [CS:GO] Nadeblock Fix
 
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!

zwolofmeister 06-23-2020 11:13

Re: [CS:GO] Nadeblock Fix
 
Outstanding performance by the one and only zhell!
Köp vip and stay safe!!

Trum 06-23-2020 14:02

Re: [CS:GO] Nadeblock Fix
 
yes

ByDexter 06-24-2020 04:41

Re: [CS:GO] Nadeblock Fix
 
[BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.

zwolofmeister 06-24-2020 06:00

Re: [CS:GO] Nadeblock Fix
 
Quote:

Originally Posted by ByDexter (Post 2707071)
[BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.

Wdum Remains inside???

amirsz 06-24-2020 06:32

Re: [CS:GO] Nadeblock Fix
 
Change on
Code:

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

Sorry for my English

zhell 06-25-2020 05:39

Re: [CS:GO] Nadeblock Fix
 
Quote:

Originally Posted by ByDexter (Post 2707071)
[BUG] : If a Molotov remains inside when thrown, we get stuck because of the plugin.

Fixed, thanks! :)

Quote:

Originally Posted by amirsz (Post 2707076)
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?)

wooler 06-25-2020 09:30

Re: [CS:GO] Nadeblock Fix
 
Thx for making this! Ily

zhell 06-25-2020 10:19

Re: [CS:GO] Nadeblock Fix
 
Quote:

Originally Posted by wooler (Post 2707204)
Thx for making this! Ily

<3:bacon!::bacon!:


All times are GMT -4. The time now is 16:08.

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