Hi, I found this post about how to call grenades functions with orpheu:
http://forums.alliedmods.net/showpos...2&postcount=11
I try to use Detonate3 in mine grenade launcher but the explosion is show only on vertical platforms and don't give damage.
PHP Code:
public CGrenade_OnTouch( const grenade, const entity )
{
if( pev( grenade, PEV_NADE_TYPE ) == NADE_TYPE_GRENADE )
CGrenade_Detonate3( grenade );
}
CGrenade_Detonate3( const grenade )
{
static OrpheuFunction:HandleDetonate3;
if ( !HandleDetonate3 )
{
HandleDetonate3 = OrpheuGetFunction( "Detonate3", "CGrenade" );
}
OrpheuCall( HandleDetonate3, grenade );
}