07.12.2012, 10:45
i try to use this
no errors but it play the animation for ever.
pawn Код:
new wordCount;
for(new i = 0; i < strlen(text); i ++ )
{
if(text[i] == ' ')
wordCount++;
}
wordCount += 1;
new seconds = floatround(0.24, floatround_round);
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 1.0, 1, 1, 1, 0, (seconds * wordCount), 1);

