Weapon.GetPrimaryAmmoType
From GMod Wiki
| Function | |
| Syntax | Weapon:GetPrimaryAmmoType( ) |
| Description: | |
| Returns the type of ammo that the weapon's primary fire takes. | |
| Returns: | Number |
| In Object: | Weapon |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.GetPrimaryAmmoType]Weapon.GetPrimaryAmmoType [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples