Garry's Mod Wiki


util.ScreenShake( Vector pos, number amplitude, number frequency, number duration, number radius )


Makes the screen shake


1 Vector pos
The origin of the effect.

Does nothing on client.
2 number amplitude
The strength of the effect
3 number frequency
The frequency of the effect in hz
4 number duration
The duration of the effect in seconds
5 number radius
The range from the origin within which views will be affected, in Hammer Units

Does nothing on client.


This will shake the screen, from the position 0 0 0 and 5000 units away, with 5 amp, frequency 5, for 10 seconds.

util.ScreenShake( Vector(0,0,0), 5, 5, 10, 5000 )

Page Links

Special Pages



Render Time: 48ms

DB GetPage 8
Generate Html 12
SaveChanges (1) 12
Render Body 0
Render Sidebar 12