Setting Chat Animations with Dialog
#9

Pretty sure my above post was wrong.

Try this:

pawn Code:
case 1:
{
    if(!IsPlayerInAnyVehicle(playerid))
    {
        if(GetPlayerAnimationIndex(playerid) == 0 && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_NONE)
        {
            ApplyAnimation(playerid,"MISC", "Idle_Chat_02" ,4.0, 1, 1, 1, 1, 1);
            SetTimerEx("StopTalkinga", strlen(text)*200, 0, "i", playerid);
        }
        else
        {
        }
    }
}
This should check if the players animation AND players special action isn't in use, which will then do the chat animation.

You may have been doing SPECIAL_ACTION_SITTING or something.
Reply


Messages In This Thread
Setting Chat Animations with Dialog - by Noesis - 23.07.2012, 14:11
Re: Setting Chat Animations with Dialog - by Noesis - 23.07.2012, 17:38
Re: Setting Chat Animations with Dialog - by Ranama - 23.07.2012, 18:33
Re: Setting Chat Animations with Dialog - by Noesis - 24.07.2012, 03:55
Re: Setting Chat Animations with Dialog - by Noesis - 24.07.2012, 16:10
Re: Setting Chat Animations with Dialog - by Kindred - 24.07.2012, 16:14
Re: Setting Chat Animations with Dialog - by Noesis - 24.07.2012, 16:37
Re: Setting Chat Animations with Dialog - by Noesis - 24.07.2012, 18:02
Re: Setting Chat Animations with Dialog - by Kindred - 24.07.2012, 18:07

Forum Jump:


Users browsing this thread: 2 Guest(s)