GM:CalcMainActivity

From Garry's Mod
Revision as of 04:55, 13 January 2017 by Bobblehead (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 GM:CalcMainActivity( )

Description

This hook is used to calculate animations for a player.

WARNING This hook must return the same values at the same time on both, client and server. On client for players to see the animations, on server for hit detection to work properly.

Arguments

Player ply

The player to apply the animation.

Arguments

Vector vel

The velocity of the player.
Personal tools
Navigation