Garry's Mod Wiki


CUserCmd:SetImpulse( number speed )


Sets the impulse command to be sent to the server.

Here are a few examples of impulse numbers:

  • 100 toggles their flashlight
  • 101 gives the player all Half-Life 2 weapons with sv_cheats set to 1
  • 200 toggles holstering / restoring the current weapon
    When holstered, the EF_NODRAW flag is set on the active weapon.


1 number speed
The impulse to send.

Page Links

Special Pages



Render Time: 23ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 7