View Single Post
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-18-2013 , 08:23   Re: Smokegrenade + Flashbang in One [new smokegren]
Reply With Quote #3

Have a blast ;)
Code:
#include <amxmodx> #include <orpheu> #define VERSION     "0.0.1" new OrpheuFunction:CGrenade_Detonate; public plugin_init() {     register_plugin( "Smoke / Flash IO", VERSION, "hornet" );         CGrenade_Detonate = OrpheuGetFunction( "Detonate", "CGrenade" );     OrpheuRegisterHook( OrpheuGetFunction( "SG_Detonate", "CGrenade" ), "OnCGrenade_SG_Detonate" ); } public OrpheuHookReturn:OnCGrenade_SG_Detonate( iEnt ) {     OrpheuCall( CGrenade_Detonate, iEnt ); }
Attached Files
File Type: zip signatures.zip (593 Bytes, 92 views)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline