Garry's Mod Wiki

Garry's Mod Wiki

  CUserCmd:SetImpulse( number impulse )

Description

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.
  • 154 toggles noclip

See full list

Arguments

1 number impulse
The impulse to send.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...