DestroyObject();
#1

Hello.

I have a little question for You, but first of all I'll show You what I've got here:

pawn Код:
for(new i; i<MAX_OBJECTS; i++)
{
     if(IsValidObject(i))
     DestroyObject(i);
}
And now, the question is:

- Is it going to destroy only objects which are created like this: CreateObject(objectid, ...); or all of them, including Dynamic objects, which are created like this: CreateDynamicObject(objectid, ...); ?
Reply
#2

This will only destroy objects created with CreateObject, as you used DestroyObject().
Reply
#3

Streamed objects count as player-objects afaik
Reply
#4

Thank You both, You've helped me, a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)