30.10.2011, 18:22
To make it loop change the fifth parameter to 1, to make it run only once change it to 0, look at the underlined numbers in these examples:
Код:
ApplyAnimation( playerid, "RAPPING" , "LAUGH_01" , 2.0 , 0 /*This number is set to 0, so the animation would run only once*/ , 1 , 1 , 0 , 0 , 1); //Runs only once ApplyAnimation( playerid, "RAPPING" , "LAUGH_01" , 2.0 , 1 /*This number is set to 1, so the animation would loop forever*/ , 1 , 1 , 0 , 0 , 1); //Loops