Thread
:
Smokegrenade + Flashbang in One [new smokegren]
View Single Post
nikolov
Senior Member
Join Date: Feb 2011
09-19-2013 , 06:27 Re: Smokegrenade + Flashbang in One [new smokegren]
#
6
Quote:
Originally Posted by
hornet
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
)
;
}
Can u make cvar (on/off) ?
nikolov
View Public Profile
Send a private message to nikolov
Find More Posts by nikolov