Represents a basic entity in the source engine
Beta 4.0
GEWeapon
None
Does the weapon have ammo?<br> Parameters: None<br> Return: bool<br>
Does the weapon have primary ammo?<br> Parameters: None<br> Return: bool<br>
Does the weapon have secondary ammo?<br> Parameters: None<br> Return: bool<br>
Does the weapon use primary ammo?<br> Parameters: None<br> Return: bool<br>
Does the weapon use secondary ammo?<br> Parameters: None<br> Return: bool<br>
Does the weapon use clips for ammo 1?<br> Parameters: None<br> Return: bool<br>
Does the weapon use clips for ammo 2?<br> Parameters: None<br> Return: bool<br>
Is the weapon melee based?<br> Parameters: None<br> Return: bool<br>
Gets the view model of the weapon<br> Parameters: None<br> Return: string<br>
Gets the world model of the weapon<br> Parameters: None<br> Return: string<br>
Gets the animation prefix<br> Parameters: None<br> Return: string<br>
Gets capacity of clip 1<br> Parameters: None<br> Return: int<br>
Gets capacity of clip 2<br> Parameters: None<br> Return: int<br>
Gets default size of clip 1<br> Parameters: None<br> Return: int<br>
Gets default size of clip 2<br> Parameters: None<br> Return: int<br>
Gets weapon weight<br> Parameters: None<br> Return: int<br>
Gets weapon flags<br> Parameters: None<br> Return: int<br>
Gets weapon hud slot<br> Parameters: None<br> Return: int<br>
Gets slot position<br> Parameters: None<br> Return: int<br>
Gets weapon name<br> Parameters: None<br> Return: string<br>
Gets weapon print name<br> Parameters: None<br> Return: string<br>
Gets default shoot sound<br> Parameters: None<br> Return: string<br>
Get primary ammo count<br> Parameters: None<br> Return: int<br>
Set primary ammo count<br> Parameters: int Ammo count<br> Return: None<br>
Get secondary ammo count<br> Parameters: None<br> Return: int<br>
Set secondary ammo count<br> Parameters: int Ammo count<br> Return: None<br>
Give default set of ammo to the weapon owner<br> Parameters: None<br> Return: None<br>
Get clip 1 ammo count<br> Parameters: None<br> Return: int<br>
Get clip 2 ammo count<br> Parameters: None<br> Return: int<br>