SA-MP Forums Archive
Can we make own object filterscript? - 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)
+--- Thread: Can we make own object filterscript? (/showthread.php?tid=293940)



Can we make own object filterscript? - Noner - 30.10.2011

Hey. Of some reason, when im putting more objects in the Gamemode scrpt, It only removing my old objects. Gates ect.
Now I want to make a own filterscript ONLY for objects. Can i do that? And what is the filterscript code? Tryed to make a new pawn filterscript, but that filerscript did not work. If any can make the filterscript code so i can just type in the objects? My code did not work so.
-Thanks.


Re: Can we make own object filterscript? - .:Kaos:. - 30.10.2011

Here ya go
Код:
#include <a_samp>

public OnFilterScriptInit()
{
	//Create Your objects Here
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}



Re: Can we make own object filterscript? - Zonoya - 30.10.2011

User Above faster


Re: Can we make own object filterscript? - Noner - 30.10.2011

Thanks dude.