CSprayCan (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:
Note:Derived from CBaseEntity and not tied to any in-game classname using LINK ENTITY TO CLASS()
(idk) |
No edit summary |
||
Line 2: | Line 2: | ||
{{CD|CSprayCan|base=CBaseEntity|goldsrc=[https://github.com/ValveSoftware/halflife/blob/b1b5cf5892918535619b2937bb927e46cb097ba1/dlls/player.cpp#L3378 player.cpp]}} | {{CD|CSprayCan|base=CBaseEntity|goldsrc=[https://github.com/ValveSoftware/halflife/blob/b1b5cf5892918535619b2937bb927e46cb097ba1/dlls/player.cpp#L3378 player.cpp]}} | ||
{{This is a|entity class|name=CSprayCan|engine=goldsrc}} This is used when player uses impulse 201 command to spray on a wall. | {{This is a|entity class|name=CSprayCan|engine=goldsrc}} 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}} | {{note|Derived from CBaseEntity and not tied to any in-game classname using [[LINK ENTITY TO CLASS()]]}} | ||
== See also == | == See also == | ||
* [https://github.com/ValveSoftware/halflife/blob/b1b5cf5892918535619b2937bb927e46cb097ba1/dlls/player.cpp#L3624 impulse 201] | * [https://github.com/ValveSoftware/halflife/blob/b1b5cf5892918535619b2937bb927e46cb097ba1/dlls/player.cpp#L3624 impulse 201] |
Revision as of 05:58, 2 April 2025
![]() |
---|
CSprayCan |
![]() |
CSprayCan
is an entity class available in all GoldSrc games.

- The {{{engine}}} parameter is inconsistent with the name defined by the {{goldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
This is used when player uses impulse 201 command to spray on a wall.
