PHP Code:
public DeathMsg()
{
if(g_bMapBanned)
return PLUGIN_HANDLED
new iKiller = read_data( 1 );
new iVictim = read_data( 2 );
pdData[iVictim][Deaths]++;
if(!(iKiller != iVictim && (32 >= iKiller > 0))) return PLUGIN_HANDLED;
pdData[iKiller][Kills]++;
pdData[iKiller][Headshot] += read_data( 3 );
return PLUGIN_HANDLED
}
Param id is not presented in the function.
__________________