Garry's Mod Wiki

Revision Difference

game.GetAmmoData#515042

<function name="GetAmmoData" parent="game" type="libraryfunc">⤶ <description>Returns the <page>AmmoData</page> for given ID.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="id" type="number">ID of the ammo type to look up the data for</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">The <page>AmmoData</page> containing all ammo data</ret>⤶ </rets>⤶ </function>⤶ ⤶