Pop Grenade
1 Attachment(s)
POP GRENADE First release: 01/14/2017 Last update: 08/14/2018 - Description This plugin allow you use Pop grenades like CSGO. If you don't know whats Pop grenades, i'll explain: When you click with your left mouse (+ATTACK), your grenade will be throwed with your normal distance. When you click with your right mouse (+ATTACK2), your grenade will be throwed more slower, closer to you. When you click with both mouses, your grenade will be throwed with medium distance. - Change Log
Spoiler
- Credits ° HamletEagle - For the code. |
Re: Pop Grenade
So hamleteagle made this?
|
Re: Pop Grenade
Yea.
|
Re: Pop Grenade
Hey. I used this plugin and noticed a bug. When I hold right click and I don't want to use the slow throw so I switch out to another weapon ( like knife with the button q ) and then I use left click the nade is thrown slowly than normal. Can you edit it so that when it's switched to another weapon the player's holding ( left/right/both) is reset?
|
Re: Pop Grenade
Ty for notice, it's fixed.
|
Reply
Good Plugin keep working..
|
Re: Pop Grenade
Quote:
|
Re: Pop Grenade
This is so great! Thanks.
|
Re: Pop Grenade
Noticed a bug, from out of nowhere any nade I throw just gets stuck in the air in front of me.
|
Re: Pop Grenade
Not sure what you're talkin' about. I don't get this bug, may be another one conflicting. Did u get log message?
|
Re: Pop Grenade
Ty, but players can throw grenades at freezetime. How to fix it?
|
Re: Pop Grenade
NICE
|
Re: Pop Grenade
"removed unnecesary variables" a.k.a introduced magic numbers which is bad practice and killed readability.
|
Re: Pop Grenade
For approval:
What is the reason to use CurWeapon here? If you are trying to reset the throw type, then hook ItemDeploy on grenade and do HandleThrowType[id] = normal. Remeber to use m_pPlayer to retrieve "id" from the grenade. |
Re: Pop Grenade
Changes done.
Quote:
|
Re: Pop Grenade
This plugin works perfectly, but it doesn't work together with molotov. For Russians, the plugin works with molotov, but there are bugs. Can you do something about it?
The problem here is that when I press the right button, it remembers it and then I can't throw the grenade normally. I go to throw it, but I take out another weapon and then I take out the grenade again, but the right button is memorized. Code:
#include <amxmodx> |
Re: Pop Grenade
In the default plugin it already does that, the ReAPI guy forgot to add it.
PHP Code:
PHP Code:
|
Re: Pop Grenade
Magnificent, thank you very much...
|
All times are GMT -4. The time now is 02:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.