Weapon p228: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
{{CD|CWeaponP228|base=CWeaponCSBaseGun_cs|file1=weapon_p228.cpp}}  | {{CD|CWeaponP228|base=CWeaponCSBaseGun_cs|nolink=1|file1=weapon_p228.cpp}}  | ||
[[File:weapon_p228.PNG|thumb|200px]]  | [[File:weapon_p228.PNG|thumb|200px]]  | ||
{{this is a|point entity|name=weapon_p228|game=Counter-Strike: Source|icon=1}}  | {{this is a|point entity|name=weapon_p228|game=Counter-Strike: Source|icon=1}}  | ||
Revision as of 03:01, 30 October 2024
| CWeaponP228 | 
 weapon_p228  is a   point entity  available in 
 Counter-Strike: Source.
The 
 P228 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.