diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 14:42:09 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 14:42:09 -0400 |
| commit | 2736f498f30220b858fc6fac23e7ddc4a597df6d (patch) | |
| tree | 374ceadedb654b00e09dac321620a8320830f734 /gamemode/animations.lua | |
| download | redead-2736f498f30220b858fc6fac23e7ddc4a597df6d.tar.gz redead-2736f498f30220b858fc6fac23e7ddc4a597df6d.tar.bz2 redead-2736f498f30220b858fc6fac23e7ddc4a597df6d.zip | |
Inital commit
Diffstat (limited to 'gamemode/animations.lua')
| -rw-r--r-- | gamemode/animations.lua | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gamemode/animations.lua b/gamemode/animations.lua new file mode 100644 index 0000000..3fac3ce --- /dev/null +++ b/gamemode/animations.lua @@ -0,0 +1,32 @@ + +function GM:UpdateAnimation( ply, velocity, maxseqgroundspeed ) + + if ply:Team() == TEAM_UNASSIGNED then return end + + player_manager.RunClass( ply, "UpdateAnimation", velocity, maxseqgroundspeed ) + +end + +function GM:CalcMainActivity( ply, velocity ) + + if ply:Team() == TEAM_UNASSIGNED then return end + + return player_manager.RunClass( ply, "CalcMainActivity", velocity ) + +end + +function GM:TranslateActivity( ply, act ) + + if ply:Team() == TEAM_UNASSIGNED then return end + + return player_manager.RunClass( ply, "TranslateActivity", act ) + +end + +function GM:DoAnimationEvent( ply, event, data ) + + if ply:Team() == TEAM_UNASSIGNED then return end + + return player_manager.RunClass( ply, "DoAnimationEvent", event, data ) + +end
\ No newline at end of file |
