Code:
public DeathMsg()
{
new Killer = read_data( 1 )
new classname[32]
pev( Killer, pev_classname, classname, 31 )
if( equal( classname, "trigger_hurt" ) )
{
// Keep in mind, this may not be executed since it'll probably
// be worldspawn that's registered as the killer
// ...
}
}
__________________