Impulse

__NOTOC__
It is a generic client-side console command that is used to send commands to the server without modifying the usercmd.
The advantage is that new commands can be added without compatibility-breaking networking changes; the disadvantage is that only one impulse can be sent at a time, and that the commands themselves are non-descriptive.
Syntax:impulse NUMBER
Impulse commands are generally used for development functions and/or cheats, and almost all require . See CBasePlayer::ImpulseCommands(), CBasePlayer::CheatImpulseCommands() and CHL2_Player::CheatImpulseCommands().
==Impulses==
===General===
These are available in most or all GoldSrc, Source and Source 2 games.
# 	Notes 	Description
76 	Works only in . 	Caches human grunt when first used, then creates which is partially submerged under floor. Mentioned in despite the complete absence of this NPC.
81 	 	Gives the player a , used to test cubemaps.
100 	Not a cheat (except in )	Toggle the player flashlight. Might require or cheats enabled, depending on the game. Bound to F by default.
101 	 	In gives player 25 health (if the player's health is less than 100) with suit and weapons with full ammo.
In also gives fully charged portal gun.
In only fully charged portal gun. In gives fully charged portal gun and fully charged paint gun.
In it does the same thing as in , doesn't give long jump module.
In it refills health and ammo for all weapons.
102 	 	Spawns a VPhysics human skull (models\Gibs\AGIBS.mdl) from inside the player (might land behind you). Meant to spawn a "random" gib and seems to be used in Half-Life: Source.
103 	 	Prints AI state of the NPC the player is looking at to the console. Requires .
106 	 	Prints the class, targetname and model of the entity under the crosshairs to the console.
107 	 	Prints the material that player is looking at to console. Only works on brushes: use instead, which works on displacements too.
108 	 	Starts debugging on NPC under the crosshair.
195, 196, 197	Nonfunctional 	Supposed to show the shortest path to the nearest air, large, and human nodes respectively.
200 	 	Plays the current viewmodel's holster animation. Doesn't actually prevent attacking. (The current weapon just won't be visible.) Not all weapons have holstering sequences.
201 	Not a cheat 	Creates a player spray on the brush under the crosshair. Use Options, Multiplayer to set a spray. Default key is T.
202 	Obsolete 	Spray blood over the brush under the crosshair.
202 	Not a cheat 	Plays a "player jingle" soundfile. To enable hearing/playing jingles, set . Set the sound file for a jingle using . Sound files must be Source-compatible WAV files under 128KB (512KB in newer engines). Jingles function using the same system as sprays, and are subject to the same anti-spam cooldown.
203 	 	Removes the entity under the crosshairs. Same as .
===Half-Life 2===
# 	Notes 	Description
50	Not a cheat 	Makes player command (call/send) a squad. Bound to C by default.
51	Not a cheat (in DM)	Spawns .
52	 	Rangefinder. Prints Starting position, ending position, 3D distance and 2D distance.
82	 	Spawns an armed . Same as .
83	 	Spawns a . Same as .
===All Counter-Strike games===
# 	Notes	Description
101	 	Gives player max money amount ($16000).
===Counter-Strike: Global Offensive===
# 	Notes 	Description
100	Not a cheat	Start weapon inspection.
202	 	Doesn't work.
===Half-Life===
# 	Notes 	Description
99	Not a cheat	If this command was submitted to the console at least three times, this will show the Valve, Sierra Studios and Half-Life logo rotating on the upper right-hand corner of the screen. Works on WON, Steam versions.This command does not work with 1280x720/1280x960 or higher resolutions after 25th Anniversary Update, because the game would fail to find the "sprites/1280_logo.spr" file.This command was used during E3 1998, as seen on the small television screens showcasing gameplay videos of Half-Life.