Weapon mp5navy: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Bug:Attempting to spawn this weapon in CSGO will crash the game!
Bug:Attempting to spawn this weapon in CSGO will crash the game!
		
	
|  (Spam revert) | m (Classifying as model entity) | ||
| (19 intermediate revisions by 14 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{CD|CWeaponMP5Navy|base=CWeaponCSBaseGun_cs|nolink=1|file1=weapon_mp5navy.cpp}} | ||
| [[File:weapon_mp5navy.PNG|thumb|right|240px|The K&M Sub-Machine Gun in {{css}}.]] | |||
| {{this is a|model entity|game=Counter-Strike: Source|game1=Counter-Strike: Global Offensive|name=weapon_mp5navy}} | |||
| The {{wiki|HK MP5}} (fictional name '''K&M Sub-Machine Gun''') is a sub-machine gun that uses {{ent|ammo_9mm}} ammunition. | |||
| The '''K&M Sub-Machine Gun''' uses  | {{bug|hidetested=1|Attempting to spawn this weapon in CSGO will crash the game!}} | ||
| __NOTOC__ | |||
| {{ | {{BasicCSSweapon}} | ||
| [[Category:Counter-Strike: Source  | == See Also == | ||
| * {{ent|ammo_9mm}} | |||
| [[Category:Counter-Strike: Source Weapons|M]] | |||
Latest revision as of 04:36, 19 May 2025
|  Class hierarchy | 
|---|
| CWeaponMP5Navy | 
|  weapon_mp5navy.cpp | 
weapon_mp5navy  is a   model entity  available in  Counter-Strike: Source and
 Counter-Strike: Source and  Counter-Strike: Global Offensive.
 Counter-Strike: Global Offensive.
The  HK MP5 (fictional name K&M Sub-Machine Gun) is a sub-machine gun that uses ammo_9mm ammunition.
 HK MP5 (fictional name K&M Sub-Machine Gun) is a sub-machine gun that uses ammo_9mm ammunition.
 Bug:Attempting to spawn this weapon in CSGO will crash the game!
Bug:Attempting to spawn this weapon in CSGO will crash the game!
KeyValues
CS:S Weapon:
Flags
- Start Constrained : [1]
- Prevents the model from moving.
- Deny Player Pickup : [2] !FGD
- Prevents player from being able to pick up the weapon.
Outputs
CS:S Weapon:
- OnPlayerUse
- Fires when a player +uses this weapon (!activator is the player.). Does not fire if the weapon is picked up successfully.
- OnPlayerPickup
- Fires when a player picks this weapon up (!activator is the player.).
- OnCacheInteraction !FGD
- When dropped, fires every tick on player touch (!activator is the player.).
- OnNPCPickup !FGD
- Fires when an NPC picks up this weapon (!activator is the NPC). Bots are considered players, so this output has no functionality. Hostages might be NPCs, but they don't pick weapons up. Hostages might be NPCs, but they don't pick weapons up.
See Also
Categories: 
- CBaseAnimating
- Model entities
- Counter-Strike: Source entities
- Counter-Strike: Source model entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive model entities
- Pages with uncategorized bugs
- Point Entities
- Non-internal entities
- Weapons
- Counter-Strike: Source weapons
- Counter-Strike: Source Weapons