Jump to content

How can I get a specified weapon's ammo?


12p

Recommended Posts

I have tried to find that function (getWeaponAmmo) but the only I did can find are these:

getPedAmmoInClip 
getPedTotalAmmo 
setWeaponAmmo 
takeWeaponAmmo 
giveWeaponAmmo 

So, how can I get all ammo in a specified weapon? getPedTotalAmmo retrieves ALL WEAPONS' ammo so it doesn't help me.

PS: To be more specific, I want to retrieve "clip + non-clip" weapon's ammo.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...