PHP Code:
if(g_headshot)PlayerXP[g_attacker] += get_pcvar_num(XP_Hs)
set_hudmessage(0, 255, 50, 0.45, 0.33, 1, 2.0, 2.0)
show_hudmessage(g_attacker, "%L", LANG_SERVER, "HS_XP", get_pcvar_num(XP_Hs))
}
PlayerHeadshots[g_attacker] += 1
PlayerXP[g_attacker] >= get_pcvar_num(XP_Kill)
set_hudmessage(0, 255, 50, 0.50, 0.33, 1, 2.0, 2.1)
show_hudmessage(g_attacker, "%L", LANG_SERVER, "KILL_XP", get_pcvar_num(XP_Kill))
What i not see message for hs ? i xp have fo hs, but message print: XP_Kill not XP_Hs