Decoy Grenade
- v1.0.0, last updated : 04.01.2014
Using this plugin any player can type /decoy to get a special smokegrenade. When the smoke explodes, the plugin looks which weapon you have and makes shooting sounds at the explosion position to confuse enemies.
Requirements
Defines
- Steam-only Server
PHP Code:
// Time in Seconds how long the decoy grenade should make sounds
#define DECOY_FULL_TIME 14.5
// Time in Seconds when decoy should start after default explosion
#define DECOY_FIRST_DELAY 1.5
// Maximum delay between two sounds
#define DECOY_MAX_DELAY 1.6
// Price of Decoy Grenade in $
#define DECOY_PRICE 500
Credits
- Arkshine - Smoke Explosion Detection and Stock
- h3h3 - Original Request
Attached Files Get Plugin or Get Source (decoygrenade.sma - 7.4 KB)
Wyświetl pełny artykuł