Talking animation help. -
NickMirra - 02.05.2015
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);
}
Re: Talking animation help. -
AzaMx - 03.05.2015
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);
}
Re: Talking animation help. -
MP2 - 03.05.2015
@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);
Re: Talking animation help. -
AzaMx - 03.05.2015
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
Re: Talking animation help. -
NickMirra - 03.05.2015
MP2 Was right, thank you to both of you lads for helping me, really appreciate it.