Hello,
I want to show a players' total kills in a small hudmessage when pointing at that guy.
My problem: after "Killz:" everybody seems to have the same value.
Here is my code so far:
Code:
public client_PreThink(id)
{
new u_guy, body;
get_user_aiming(id, u_guy, body)
new u_stats[8]
new u_hits[8]
if (is_user_alive(u_guy))
{
get_user_stats(u_guy, u_stats, u_hits)
set_hudmessage(10, 255, 10, 0.5, 0.55, 0, 6.0, 0.1)
show_hudmessage(id, "Killz: %i", u_stats[0])
}
}
BIG THX!
@mods: sorry for all the mess :/