CUserCmd/SetImpulse

From Garry's Mod
Jump to: navigation, search
 CUserCmd:SetImpulse( )

Description

Sets the impulse command to be sent to the server.

For example, 101 is an impulse that will give the player all Half-Life 2 weapons with sv_cheats set to 1. Impulse 100 will toggle their flashlight.

Arguments

number speed

The impulse to send.
Personal tools
Navigation