integer index -- Index of the ammoDef.
integer
idPlayer
Returns the amount of ammo the player has of a specified ammoDef.