Revision Difference
CUserCmd:SetImpulse#528047
<function name="SetImpulse" parent="CUserCmd" type="classfunc">
<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⤶
- `200` toggles holstering / restoring the current weapon ⤶
When holstered, the `EF_NODRAW` flag is set on the active weapon.⤶
</description>
<realm>Shared</realm>
<args>
<arg name="speed" type="number">The impulse to send.</arg>
</args>
</function>