Weapon tmp: Difference between revisions
Jump to navigation
Jump to search
m (categorization) |
m (Classifying as model entity) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
[[ | {{CD|CWeaponTMP|base=CWeaponCSBaseGun_cs|file1=weapon_tmp.cpp}} | ||
{{ | [[File:weapon_tmp.PNG|thumb|right|350px|The Schmidt Machine Pistol.]] | ||
{{this is a|model entity|game=Counter-Strike: Source|name=weapon_tmp}} | |||
The {{Wiki|Steyr TMP}} is a sub-machine gun that uses {{ent|ammo_9mm}} ammunition. | |||
The {{Wiki|Steyr TMP}} is a sub-machine gun that uses | __NOTOC__ | ||
{{BasicCSSweapon}} | {{BasicCSSweapon}} | ||
== See Also == | |||
* {{ent|ammo_9mm}} | |||
[[Category:Counter-Strike: Source Weapons|T]] | [[Category:Counter-Strike: Source Weapons|T]] |
Latest revision as of 04:37, 19 May 2025
![]() |
---|
CWeaponTMP |
![]() |
weapon_tmp
is a model entity available in Counter-Strike: Source.
The Steyr TMP 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.