SA-MP Forums Archive
Help Please With 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: Help Please With Filterscript (/showthread.php?tid=330133)



Help Please With Filterscript - Jing_Chan - 31.03.2012

Okay, I want to make a filterscript just for a map from MTA, I Converted it, its createobject now
but How can I make a filterscript into the map thing so when i load the fs it loads my map?


Re: Help Please With Filterscript - captainjohn - 31.03.2012

Under here
pawn Код:
public OnFilterScriptInit( )
{
Add your objects.

I also advise you to get this plugin https://sampforum.blast.hk/showthread.php?tid=102865


Re: Help Please With Filterscript - Randyy - 31.03.2012

Yeah and a trucking server can need much objects so get the plugin and change CreateObject to CreateDynamicObject so the objects won't be invisible later!


Re: Help Please With Filterscript - captainjohn - 31.03.2012

If you do get the plugin and you want to change the CreateObject to CreateDynamicObject, this is a quick way to do it.


Go to your .pwn file, click edit, replace (or Ctrl + H).
Under Search For put this in CreateObject
Then under Replace With put this in CreateDynamicObject

Then just click yes or yes to all.