Talking animation help.
#1

Alright so i have a talk animation but after its done with the animation is doesnt clear and it causes the players to walk/run with their arms to the side, is there anyway i could put a clearanimation after i apply it thank you.

Код:
	{
	    format(string, sizeof(string), "%s says: %s", sendername, text);
		ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
		SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
		ApplyAnimation(playerid, "GANGS", "prtial_gngtlkA", 4.1, 0, 1, 1, 1, 1);
	}
Reply
#2

try this.. i dont know if it work..

pawn Код:
{
        format(string, sizeof(string), "%s says: %s", sendername, text);
        ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
        ApplyAnimation(playerid, "GANGS", "prtial_gngtlkA", 4.1, 0, 1, 1, 0, 5100);
    }
Reply
#3

@AzaMx: You're just setting a time (1 second). It might not play the whole animation.

To play the animation and freeze the player (can't move or cancel animation): 4.1,0,1,1,0,0);

To let the player move and cancel the animation: 4.1,0,0,0,1,1);
Reply
#4

Quote:
Originally Posted by MP2
Посмотреть сообщение
@AzaMx: You're just setting a time (1 second). It might not play the whole animation.
Oh ye.. LOL thanks for the infomation
Reply
#5

MP2 Was right, thank you to both of you lads for helping me, really appreciate it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)