No. What is the variable "suicide"??
EDIT:
PHP Code:
public eDeath()
{
new killer = read_data(1);
new victim = read_data(2);
new gpoints_kill = get_pcvar_num(points_kill);
new gpoints_hs = get_pcvar_num(points_hs);
new gpoints_suicide = get_pcvar_num(points_suicide);
if( IsPlayer(killer) && is_user_connected(killer) )
{
if( victim != killer )
{
if( cs_get_user_team(victim) != cs_get_user_team(killer) )
{
if( is_user_alive(killer) )
{
if(read_data(3))
{
gCM[killer] += (gpoints_kill + gpoints_hs);
Print(killer, "You gained %d Points!^x01 (Headshot)", (gpoints_hs + gpoints_kill ) );
}
else
{
gCM[killer] += gpoints_kill
Print(killer, "You gained %d Points!", gpoints_kill );
}
CheckLevel(killer);
SaveData(killer);
}
}
}
else
{
// killer is equal to victim (player killed self)
gCM[killer] += gpoints_suicide
Print(killer, "You lost %d Points for Suicide!", -gpoints_suicide)
CheckLevel(killer);
SaveData(killer);
}
}
__________________