Raised This Month: $ Target: $400
 0% 

get_user_ammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Obada
Senior Member
Join Date: Dec 2014
Location: Abu Dhabi
Old 03-23-2015 , 06:37   get_user_ammo
Reply With Quote #1

Hey,

I was making a hud message which shows you the other player's bullets.

The thing is that, it shows something like this.

Code:
His/Her Bullets: 1
Instead of showing his/her actual bullets number, it just shows 1.
PHP Code:
new clip1ammo1
set_hudmessage
(2552550, -1.00.2506.01.0)
show_hudmessage(0,"His/Her Bullets: %d"get_user_ammo(idCSW_USPclip1ammo1)) 

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.

Last edited by Obada; 03-23-2015 at 06:43.
Obada is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode