Garry's Mod Wiki

CUserCmd:GetImpulse

  number CUserCmd:GetImpulse()

Description

Gets the current impulse from the client, usually 0. See impulses list and some GMod specific impulses.

Returns

1 number
The impulse