Need Help With Actors. -
Код:
CMD:test(playerid)
{
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);
ApplyActorAnimation(actors[0], "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);//Animination Don't Work
ApplyActorAnimation(actors[1], "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
ApplyActorAnimation(actors[2], "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
ApplyActorAnimation(actors[3], "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
ApplyActorAnimation(actors[4], "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
SetPlayerPos(playerid, -1523.1636,736.6088,7.1875);
return 1;
}
Re: Need Help With Actors. -
Make the actors under OnGameModeInit and apply the animations there too, and remove the ApplyActorAnimation and CreateActor from the command.
Re: Need Help With Actors. -