CSprayCan
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 Note:Derived from CBaseEntity and not tied to any in-game classname using LINK_ENTITY_TO_CLASS()
Note:Derived from CBaseEntity and not tied to any in-game classname using LINK_ENTITY_TO_CLASS()
 Note:No limit to amount of sprays active at once (presumably limited to some sort of decal limit[Clarify]) and is sprayable on any brushes
Note:No limit to amount of sprays active at once (presumably limited to some sort of decal limit[Clarify]) and is sprayable on any brushes
	
		
	
|  Class hierarchy | 
|---|
| CSprayCan | 
|  player.cpp | 
CSprayCan  is an   entity class  available in all  GoldSrc games. This is used when player uses impulse 201 command to spray on a wall.
 GoldSrc games. This is used when player uses impulse 201 command to spray on a wall.
 Note:Derived from CBaseEntity and not tied to any in-game classname using LINK_ENTITY_TO_CLASS()
Note:Derived from CBaseEntity and not tied to any in-game classname using LINK_ENTITY_TO_CLASS() Note:No limit to amount of sprays active at once (presumably limited to some sort of decal limit[Clarify]) and is sprayable on any brushes
Note:No limit to amount of sprays active at once (presumably limited to some sort of decal limit[Clarify]) and is sprayable on any brushesConvars
| Cvar/Command | Parameters or default value | Descriptor | Effect | 
|---|---|---|---|
| decalfrequency | 30 | seconds | How much must a player wait in seconds before they are able to spray another time | 
