Hey,
I was making a hud message which shows you the other player's bullets.
The thing is that, it shows something like this.
Instead of showing his/her actual bullets number, it just shows 1.
PHP Code:
new clip1, ammo1
set_hudmessage(255, 255, 0, -1.0, 0.25, 0, 6.0, 1.0)
show_hudmessage(0,"His/Her Bullets: %d", get_user_ammo(id, CSW_USP, clip1, ammo1))
What did I do wrong?
Thanks.
PS. I don't want to use
cs_get_weapon_ammo, nor
cs_get_user_bpammo. Because I want to get the total player's bullets.
Thanks again.