[Help] Is there a way to do that when xStreamer FS unloads... - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Is there a way to do that when xStreamer FS unloads... (
/showthread.php?tid=69260)
[Help] Is there a way to do that when xStreamer FS unloads... -
Castle - 16.03.2009
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
![angry](images/smilies/mad.gif)
Please help
Re: [Help] Is there a way to do that when xStreamer FS unloads... -
mirkoiz - 16.03.2009
for that you must rewrite the whole Script i thing...
Re: [Help] Is there a way to do that when xStreamer FS unloads... -
Norn - 16.03.2009
Run a loop.
Re: [Help] Is there a way to do that when xStreamer FS unloads... -
r3k1lLz_ - 26.01.2010
DestroyCreateObjectsByME(); I think I can't remember.. something like that
Re: [Help] Is there a way to do that when xStreamer FS unloads... -
Calgon - 26.01.2010
I believe it's DestroyAllStreamedObjects(), look in the include file.