[Help] Is there a way to do that when xStreamer FS unloads...
#1

Is there a way to do that when xStreamer FS unloads it will Destroy All objects that it Spawned in the Script?
here is the Release topic: http://forum.sa-mp.com/index.php?topic=85795.0
Almost no1 looks at the last pages so I ask here....
I know it has to be:
pawn Код:
public OnFilterScriptExit()
{
    DestroyStreamedObject(objectid);
    return 1;
}
but the thing is i dunno what Objectid i need to put so it wil destroy all of them
Please help
Reply
#2

for that you must rewrite the whole Script i thing...
Reply
#3

Run a loop.
Reply
#4

DestroyCreateObjectsByME(); I think I can't remember.. something like that
Reply
#5

I believe it's DestroyAllStreamedObjects(), look in the include file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)