Duplicate Actors bug
#3

new Float,Float:y,Float:z;
GetActorPos(ActorID[i],x,y,z);
DestroyActor(ActorID[i]);
ActorID[i]=CreateActor(ActorSkin[i],x,y,z,ActorAngle[i]);

You destroy the actor - and then you immediately make another one after it's been destroyed.

? Just remove the last CreateActor line?

Or add: ActorCreated[ActorID]==0; under the 'DestroyActor' ?
Reply


Messages In This Thread
Duplicate Actors bug - by Admigo - 04.05.2015, 15:57
Re: Duplicate Actors bug - by long76 - 04.05.2015, 16:52
Re: Duplicate Actors bug - by Pizzy - 06.05.2015, 00:24

Forum Jump:


Users browsing this thread: 1 Guest(s)