Garry's Mod Wiki

Revision Difference

game.GetAmmoData#519026

<function name="GetAmmoData" parent="game" type="libraryfunc"> <description>Returns the <page>AmmoData</page> for given ID.</description> <description>Returns the <page>Structures/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> <ret name="" type="table">The <page>Structures/AmmoData</page> containing all ammo data</ret> </rets> </function>