ReGameDLL_CS
ReGameDLL_CS copied to clipboard
New Cvar: `mp_drop_grenade_enable`
Allow players to drop grenades from their inventory
I might recommend to put a CVar via flags (or, via short names at the suite like for the CVar "mp_t_default_grenades") in order to control the manual drop "per grenade", then put the CVar code inside each function "*::CanDrop". Like I did for a module here, so, more customizable.
regame is slowly turning into a circus
@JulioBarker need changes
then players will start spamming with grenades. and you will add another million cvars to control it.
IMHO it's better to do this with 3rd party plugins.
What else will happen if I have 2 flash? Will drop everything. Although it should be one at a time, but this requires an additional code.
IMO, this should be a 3rd party plugin. Idea is good, but:
- Dropping grenade per grenade would spam world with entities (considering you can extend grenade carry limit), leading to (2)
- If you have ammo > 1, then you'll drop a single grenade weaponbox containing +2 ammo on it, which is aesthetically uncomfortable, leading to (3)
- Use a different model (ammo box maybe? something like models/w_argrenade.mdl) for grenade weaponboxes but only when ammo > 1, but that will turn this to an extra feature, and an extra model precaching, leading to go outside the limits of the purpose of this project.
Бесполезно. Зачем вообще бросать гранату на землю? Чтобы засорять карту флудом?
Бесполезно. Зачем вообще бросать гранату на землю? Чтобы засорять карту флудом?
And why talk in Russian when you can do efforts to talk in English! Still same shits with you!