ammoleft / all ammo.
#1

Well,
How can I get the ammo that the player has left in his current weapon and the ammo that the player has left for that weapon?
Like you have at top right of your screen.

Like:

ammoleft / maxammoleft

Are there functions to get these 2 integers?
Reply
#2

check this out
Reply
#3

uhm, thats all ammo left.
I also need to know how much is in the clip.
Reply
#4

Quote:
Originally Posted by timothyinthehouse
Посмотреть сообщение
uhm, thats all ammo left.
I also need to know how much is in the clip.
this will get you the current weapons thats sellected

quote from wiki
Код:
Get the weapon and ammo in a specific player's weapon slot.
Reply
#5

I know, but thats this part (bolt part):

ammo in clip / max ammo left.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)