how it's possible, detect deaths with lasermine.
Quote:
|
Player1 killed Player2 with lasermine
|
my code is not working

anybody know why?
PHP Code:
register_event("DeathMsg", "eDeath", "a");
public eDeath()
{
new szWeapon[ 10 ];
read_data( 4, szWeapon, charsmax( szWeapon ) );
if( equal( szWeapon, "lasermine" ) )
{
new iKiller = read_data(1);
new iVictim = read_data(2);
//blablabla
}
}