From 2736f498f30220b858fc6fac23e7ddc4a597df6d Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 30 May 2016 14:42:09 -0400 Subject: Inital commit --- gamemode/animations.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gamemode/animations.lua (limited to 'gamemode/animations.lua') 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 -- cgit v1.2.3-70-g09d2