SA-MP Forums Archive
Mapping 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: Mapping Filterscript (/showthread.php?tid=289562)



Mapping Filterscript - JE - 12.10.2011

Hi. i know nothing about filterscripts but im a mapper. I need to be able to create simple filterscripts to add my maps to. i know how to convert them i just dont know how to make the filterscript. if you could show me how to do this ill give you +1 rep. thanks in advance -JE


Re: Mapping Filterscript - [HiC]TheKiller - 12.10.2011

Create a blank filterscript with only one callback, OnFilterScriptInit.

pawn Код:
public OnFilterScriptInit()
{
    //Objects go here
    return 1;
}
Then save that. Put it in your filterscripts folder and add it to your server.cfg. Make sure that if you have over the object limit to use a Object Streamer.