06.06.2016, 01:35
you need preload animation before used, look like
then you can use any animation from STRIP.
Quote:
public OnGameModeInit{} { new actors[5]; actors[0] = CreateActor(45, -1511.1079,761.8273,7.1875, 0);//Animination Don't Work actors[1] = CreateActor(246, -1522.5654,750.2553,-10.9301, 0); actors[2] = CreateActor(246, -1519.9024,750.2504,-10.9301, 0); actors[3] = CreateActor(246, -1523.4891,750.2548,-10.9301, 0); actors[4] = CreateActor(246, -1518.8878,750.2539,-10.9301, 0); for(new i; i < sizeof(actors); i++) { ApplyActorAnimation(actors[i], "STRIP", "null", 4.1, 1, 0, 0, 0, 0); } } |