Raised This Month: $ Target: $400
 0% 

Drop the last or the best grenade


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mforce
Member
Join Date: Jan 2015
Old 10-05-2015 , 19:30   Drop the last or the best grenade
Reply With Quote #1

Hello everybody!
I want a plugin to drop the victim's last or the best grenade when someone killed him/her.
And drop the last or the best weapon too.
Like in CS:GO

Last edited by mforce; 10-05-2015 at 19:33.
mforce is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-05-2015 , 20:01   Re: Drop the last or the best grenade
Reply With Quote #2

Search for "nade drops".
OciXCrom is offline
Send a message via Skype™ to OciXCrom
mforce
Member
Join Date: Jan 2015
Old 10-06-2015 , 08:21   Re: Drop the last or the best grenade
Reply With Quote #3

It's useless for me. It isn't what I asked for.

Last edited by mforce; 10-06-2015 at 08:22.
mforce is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-06-2015 , 20:36   Re: Drop the last or the best grenade
Reply With Quote #4

You asked for grenades to be dropped on player's death, and I'm giving you exactly that.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
mforce
Member
Join Date: Jan 2015
Old 10-08-2015 , 18:11   Re: Drop the last or the best grenade
Reply With Quote #5

"grenades to be dropped"

No! GRENADE to be dropped. Last or the best! Only one. Like CZ/CSS/CSGO
mforce is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-08-2015 , 18:43   Re: Drop the last or the best grenade
Reply With Quote #6

He gave you that...
redivcram is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-08-2015 , 19:15   Re: Drop the last or the best grenade
Reply With Quote #7

Please define last or the best grenade?
zmd94 is offline
mforce
Member
Join Date: Jan 2015
Old 10-10-2015 , 20:33   Re: Drop the last or the best grenade
Reply With Quote #8

Lastinv (Q) in killer inventory or in killer hand.
Or the best grenade
(1. heg
or when victim doesn't have it go to second.
2. flash
same... go to third.
3. smoke)

https://forums.alliedmods.net/showpo...99&postcount=4

Like in here Full code.
PHP Code:
   // mp_death_drop_grenade = register_cvar("mp_death_drop_grenade", "1") // Which grenade to drop on player death: 0=none, 1=best, 2=current or best 

Last edited by mforce; 10-10-2015 at 20:33.
mforce is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-10-2015 , 21:02   Re: Drop the last or the best grenade
Reply With Quote #9

Sorry, still cannot find the way to get the item in player inventory.
zmd94 is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 10-10-2015 , 22:37   Re: Drop the last or the best grenade
Reply With Quote #10

you can check for an item in the player's inventory with user_has_weapon i think

why so many complicated but useless requests?

also, how do you define the best weapon?

Last edited by Depresie; 10-10-2015 at 22:42.
Depresie 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 06:23.


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