• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] IsDynamicActorStreamedIn always returns 0
#3
You don't need to delete actors if u use streamer plugin. They 'r automagicly deleted/creatated and don't occupy a slot in default actor? -POOL?? - ( when not visable ).

I'd say delete dynamic actors this way only if they are usless/random.



Now, we have multiple mistakes in your code.



for(new i = 0; i < MAX_PLAYERS 1; i) >> for(new i = 0; i < MAX_PLAYERS; i)



? ? ? ? if (IsDynamicActorStreamedIn(shopactor[virtualworldid], i))

? ? ? ? {

? ? ? ? ? ? print("streamed");

? ? ? ? ? break;

? ? ? ? }



>>>



? ? ? ? if (IsDynamicActorStreamedIn(shopactor[virtualworldid], i))

? ? ? ? {

? ? ? ? ? ? print("streamed");

? ? ? ? ? return 0; // or 1

? ? ? ? }





And, consider adding IsPlayerConnected.
  Reply


Messages In This Thread
RE: IsDynamicActorStreamedIn always returns 0 - by Expert* - 2021-01-18, 07:30 PM

Forum Jump: