Garry's Mod Wiki

Player:ViewPunch

Player:ViewPunch( Angle PunchAngle )

Description

Simulates a push on the client's screen.

Arguments

1 Angle PunchAngle
The angle in which to push the player's screen.

Example

Knocks the player's camera upward

Entity( 1 ):ViewPunch( Angle( -10, 0, 0 ) )

Page Links


Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 6