Animation index.
#7

Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32];
        new animname[32];
        new msg[128];
        GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
        format(msg, 128, "Running anim: %s %s", animlib, animname);
        SendClientMessage(playerid, 0xFFFFFFFF, msg);
    }
    return 1;
}
Credits: Wiki
Reply


Messages In This Thread
Animation index. - by BaubaS - 23.08.2012, 23:13
Re: Animation index. - by Shetch - 23.08.2012, 23:19
Re: Animation index. - by MP2 - 24.08.2012, 00:13
Re: Animation index. - by BaubaS - 24.08.2012, 00:31
Re: Animation index. - by Shetch - 24.08.2012, 01:14
Re: Animation index. - by grand.Theft.Otto - 24.08.2012, 02:08
Re: Animation index. - by Shetch - 24.08.2012, 03:55

Forum Jump:


Users browsing this thread: 1 Guest(s)