27.08.2016, 01:18
If the player tries to jump or sprint and has been shot in the leg(use a variable for this, make sure you clear it when they're not supposed to limp anymore), apply the animation. You can detect this in OnPlayerKeyStateChange.
KEY_JUMP, KEY_SPRINT
KEY_JUMP, KEY_SPRINT