Weapon p228: Difference between revisions
Jump to navigation
Jump to search
m (categorization) |
m (Classifying as model entity) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[ | {{CD|CWeaponP228|base=CWeaponCSBaseGun_cs|nolink=1|file1=weapon_p228.cpp}} | ||
{{ | [[File:weapon_p228.PNG|thumb|200px]] | ||
{{this is a|model entity|name=weapon_p228|game=Counter-Strike: Source|icon=1}} | |||
The {{Wiki|P228}} ('''228 Compact''' in {{css}}) is a semi-automatic pistol uses {{ent|ammo_357sig}} ammunition. | |||
The {{Wiki|P228}} is a semi-automatic pistol uses | __NOTOC__ | ||
{{BasicCSSweapon|p228}} | |||
{{ | == See Also == | ||
* {{ent|ammo_357sig}} |
Latest revision as of 04:36, 19 May 2025
![]() |
---|
CWeaponP228 |
![]() |
weapon_p228
is a model entity available in Counter-Strike: Source.
The P228 (228 Compact in
) is a semi-automatic pistol uses ammo_357sig 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.