Weapon mp5navy: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy, see also) |
||
Line 1: | Line 1: | ||
{{CD|CWeaponMP5Navy|base=CWeaponCSBaseGun_cs|file1=weapon_csbasegun.cpp}} | |||
[[File:weapon_mp5navy.PNG|thumb|right|240px]] | [[File:weapon_mp5navy.PNG|thumb|right|240px]] | ||
{{this is a|point entity|game=Counter-Strike: Source|name=weapon_mp5navy}} | {{this is a|point entity|game=Counter-Strike: Source|name=weapon_mp5navy}} | ||
The {{wiki|HK MP5}} is a sub-machine gun that uses {{ent|ammo_9mm}} ammunition. | |||
The {{wiki|HK MP5}} is a sub-machine gun that uses | __NOTOC__ | ||
{{BasicCSSweapon}} | {{BasicCSSweapon}} | ||
== See Also == | |||
* {{ent|ammo_9mm}} | |||
[[Category:Counter-Strike: Source Weapons|M]] | [[Category:Counter-Strike: Source Weapons|M]] |
Revision as of 05:11, 2 July 2024
![]() |
---|
CWeaponMP5Navy |
![]() |
weapon_mp5navy
is a point entity available in Counter-Strike: Source.
The HK MP5 is a sub-machine gun that uses ammo_9mm ammunition.
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.