Revision Difference
GM:PlayerAmmoChanged#546161
<function name="PlayerAmmoChanged" parent="GM" type="hook">
<ishook>yes</ishook>
<description>
Called when player's reserve ammo count changes.
Called after player's reserve ammo count changes.
</description>
<added>2020.06.24</added>
<realm>Shared</realm>
<predicted>No</predicted>
<args>
<arg name="ply" type="Player">The player whose ammo is being affected.</arg>
<arg name="ammoID" type="number">The ammo type ID.</arg>
<arg name="oldCount" type="number">The old ammo count.</arg>
<arg name="newCount" type="number">The new ammo count.</arg>
</args>
</function>