01.05.2015, 19:49
Hey there. When I try to create few actors in the same virtual world and apply an animation to them, actor that was created first does not sync. When I leave the virtual world and go back, it syncs perfectly.
Can someone confirm this?
[ame]www.youtube.com/watch?v=eUkNWQdjqSA&[/ame]
I've used this code to create the actors:
Can someone confirm this?
[ame]www.youtube.com/watch?v=eUkNWQdjqSA&[/ame]
I've used this code to create the actors:
pawn Code:
CMD:actor(playerid)
{
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
new actor = CreateActor(15, pos[0] + 1, pos[1] + 1, pos[2], 0.0);
SetActorVirtualWorld(actor, 0);
ApplyActorAnimation(actor, "STRIP", "STR_LOOP_A", 2.0, true, 0, 0, 0, 1500000);
return 1;
}