version 0.1
Supported mods:
Half-Life (valve) only
Needed modules:
Fakemeta
Information:
This plugin provides a native with function ported from HLSDK:
(NOTE: This is just a little experiment with player animations, method used here is extremely inefficient)
Code: Select all
void CBasePlayer::SetAnimation( PLAYER_ANIM playerAnim )Code: Select all
enum PLAYER_ANIM
{
PLAYER_IDLE,
PLAYER_WALK,
PLAYER_JUMP,
PLAYER_SUPERJUMP,
PLAYER_DIE,
PLAYER_ATTACK1
};
/* Set the activity based on an event or current state */
native hl_user_set_animation(const iPlayer, const iPlayerAnim); 