Garry's Mod Wiki

CUserCmd:SetImpulse

CUserCmd:SetImpulse( number speed )

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

1 number speed
The impulse to send.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 8
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 7