Thread
:
Smokegrenade + Flashbang in One [new smokegren]
View Single Post
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
09-18-2013 , 08:40 Re: Smokegrenade + Flashbang in One [new smokegren]
#
4
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
)
;
}
Haha just like what i'm thinking, Orpheu is the way. Good job.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo
View Public Profile
Send a private message to yokomo
Visit yokomo's homepage!
Find More Posts by yokomo