I use a forward to do it...
Here is an example:
PHP Code:
g_lm_forward;
public plugin_init( )
g_lm_forward = CreateMultiForward( "lasermine_kill", ET_IGNORE, FP_CELL, FP_CELL );
// if you are using the common lasermine/tripmine use this:
set_score(id,target,hitscore,HP){
// blablabla
new iReturn
ExecuteForward( g_lm_forward, iReturn, id, target );
)
// you can use this in any other plugin you want
forward lasermine_kill( killer, victim )
public lasermine_kill( killer, victim )
{
// here what you want
}
__________________