A question about DestroyObject.
#1

Hello,
I am destroying all the server objects, but I have a question: Will it remove all the dynamic Objects too?
pawn Код:
for(new i; i<MAX_OBJECTS; i++)
{
    if(IsValidObject(i)) DestroyObject(i);
}
Reply
#2

If you are using dynamic objects (aka streamer), your code will actually remove zero objects (because streamer actually uses per-player object functions). You should use your streamer's functions to remove objects from the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)