Animation seat problem
#1

I've the create the command for seat applyanimation:
PHP код:
ApplyAnimation(playerid,"PED","SEAT_idle"4.010000); 
But when the player speak the SEAT Animation disappears, i can't leave the PED IDLE_CHAT Animation.
How can i resolve it?
PHP код:
if(!in_anim[playerid])
                {
                    if(!
death_mode[playerid] && !sleeping[playerid])
                    {
                        
ApplyAnimation(playerid,"PED""IDLE_CHAT",4.1,0,0,0,1,1);
                        if(
GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCKSetTimerEx("StopTalk"anim_timefalse"i"playerid);
                    }
                    else
                    {
                        
SendErrorMsg(playerid,"Non puoi parlare in sistema morte.");
                    } 
Reply
#2

Try using ClearAnimation or SetPlayerSpecialAction to NONE before doing any animation.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)