SA-MP Forums Archive
Actors doesn't spawns(in some cases) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actors doesn't spawns(in some cases) (/showthread.php?tid=574712)



Actors doesn't spawns(in some cases) - CyNiC - 19.05.2015

Firstly, I'm not searching for scriptable solution, I'm just reporting this little problem.

In some cases, actors are not visible if you write them in a very adjacent lines to those which should born in the same area(or interior?) of him, but he will spawn if write the actor lines next to him line.

Also, sometimes is need to re-stream the actor for see him, I can't give details because it happens randomly.

Example:

pawn Код:
CreateActor(bla, 1, 1, 1);
CreateActor(bla, 1, 1, 1);
CreateActor(bla, 1,1, 1);
CreateActor(bla, 1,1, 1);
CreateActor(bla, 1,1, 1);
CreateActor(bla, 1,1, 1);
CreateActor(bla, 2,2, 2);
CreateActor(bla, 2,2, 2);
CreateActor(bla, 2,2, 2);
CreateActor(bla, 2,2, 2);
CreateActor(bla, 2,2, 2);
CreateActor(bla, 222,2, 2);
CreateActor(bla, 2,2, 222);
CreateActor(bla, 2,2222, 2);
CreateActor(bla, 2,222, 2);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 3, 300, 3);
CreateActor(bla, 1, 1, 1); /* This actor maybe will not spawn, I tested with +50 actors and this problem happened inside an interior */
P.S: I can send the code where bug happens for MP.

Sorry for the bad english.


Re: Actors doesn't spawns(in some cases) - Reim - 24.05.2015

Yes, I have a similar problem


Re: Actors doesn't spawns(in some cases) - PowerPC603 - 24.05.2015

Why would you create multiple actors on the exact same location?


Re: Actors doesn't spawns(in some cases) - CyNiC - 24.05.2015

The problem happened with only 5 actors inside an interior, I just gave a example in the code above.


AW: Actors doesn't spawns(in some cases) - ]BSC[InternetInk - 05.06.2015

Is it limited to 50 actors streamed in at the same time?
Why is this limit so low and not mentioned anywhere?


Re: Actors doesn't spawns(in some cases) - valych - 06.06.2015

I had similar problem, that actor didn't spawn, but only when he was placed in mapped interior (with streamer plugin). Actually, the actor did spawn, but he just fell down, because objects were not streamed for player.
The only solution i've found is to create timer (i think 5 secs is more then enough), which will place actor in its desirable place.