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

player:ViewPunch(Angle(-10, 0, 0))

Page Links


Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 7