27.04.2016, 13:06
Everthing thing works fine, but the problem is the virtualworld the actor only works on vw 0 i want it works for all worlds, maybe u guys can help me out, thanks advance!
PHP Code:
for(new c = 0; c < sizeof(AllActors); c++)
{
CreateActor(AllActors[c][askinid], AllActors[c][npcX], AllActors[c][npcY], AllActors[c][npcZ], AllActors[c][npcA]);
ApplyActorAnimation(c, AllActors[c][animclass], AllActors[c][animname], 4.1, 1, 0, 0, 0, 0);
SetPlayerVirtualWorld(c, -1);
SetActorInvulnerable(c);
}