GetPlayerAmmo

From SA-MP Wiki

Jump to: navigation, search

GetPlayerAmmo


Returns the amount of ammunition the player has in his active weapon slot.


Parameters:
(playerid)
playeridID of the player


ReturnsThe amount of ammunition the player has in his active weapon slot.


new ammo = GetPlayerAmmo(playerid);


Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools