17.06.2011, 20:10
actually aim the camera at yourself and it will aim like that to.
use that in onplayerupdate or a timer and see for yourself :P
get me the animname, and i'll get u the animation id if u need
pawn Code:
if(GetPlayerAnimationIndex(playerid))
{
new animlib[32],animname[32];
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
SendClientMessageFormatted(playerid, 0xFFFFFFFF, "Running anim: %s - %s", animlib, animname);
}
get me the animname, and i'll get u the animation id if u need