[Include] [INC] Filterscript Loader
#1

Filterscript Loader v1.0
by dante @ LTU
(a.k.a. Ignas1337)
I've been reading through posts a while ago and I came across with a certain topic. It was a vehicle ownership for the godfather script. Now, we all know that godfather+FS vehicle ownership is no good without major editing, so I came up with this idea. If filterscripts are loaded BEFORE gamemodes, so why don't I switch that and make a gamemode load the filterscripts after everything has been set (for example vehicles has been spawned in GF).

Credits
Credits to Denver(Astro) for his LoadTmp() function which I used as a base
Credits to whoever created 'split' function
Credits to anyone I forgot and me for bringing it all together.

What does this include do?

This include contains two functions: LoadFS and split. I needed the split to process the files. This script reads the file 'filterscripts.cfg' in scriptfiles folder and then starts tem using rcon command.

What should I do for it to work?

You should #define FILTERSCRIPT_COUNT before including this filterscript and modify the 'filterscripts.cfg' file in scriptfiles folder. FILTERSCRIPT_COUNT defines how many filterscript entries will be read on 'LoadFS()'

Downloads

I've included pawno with a new file which defines what is needed includes the include. Also there is a scriptfiles folder with filterscripts.cfg. Remove everything from it and place the names of filterscripts you need to use. Also, remove the filterscripts line from server.cfg. Redefine FILTERSCRIPT_COUNT to how many scripts you're using.

Rapidshare
Mediafire
Pastebin

Any mirrors would be great!

*Links updated*
(sorry, didn't find the rar, uploaded .inc only!)


If you require any help, post right away! If you find any bugs, I'll see in to it that they get solved. Thank you.
Reply


Messages In This Thread
[INC] Filterscript Loader - by Ignas1337 - 21.05.2009, 12:50
Re: [INC] Filterscript Loader - by Ignas1337 - 21.05.2009, 13:09
Re: [INC] Filterscript Loader - by KeyWay - 21.05.2009, 13:34
Re: [INC] Filterscript Loader - by Divine - 21.05.2009, 13:38
Re: [INC] Filterscript Loader - by yezizhu - 21.05.2009, 13:43
Re: [INC] Filterscript Loader - by KeyWay - 21.05.2009, 13:52
Re: [INC] Filterscript Loader - by Ignas1337 - 21.05.2009, 13:59
Re: [INC] Filterscript Loader - by yezizhu - 21.05.2009, 14:52
Re: [INC] Filterscript Loader - by yezizhu - 21.05.2009, 15:04
Re: [INC] Filterscript Loader - by Ignas1337 - 21.05.2009, 15:54
Re: [INC] Filterscript Loader - by yezizhu - 22.05.2009, 00:43
Re: [INC] Filterscript Loader - by Ignas1337 - 22.05.2009, 05:29
Re: [INC] Filterscript Loader - by RyDeR` - 22.05.2009, 07:14
Re: [INC] Filterscript Loader - by Ignas1337 - 23.05.2009, 11:30
Re: [INC] Filterscript Loader - by Weirdosport - 23.05.2009, 18:48
Re: [INC] Filterscript Loader - by Ignas1337 - 24.05.2009, 03:33
Re: [INC] Filterscript Loader - by Ignas1337 - 28.05.2009, 14:02
Re: [INC] Filterscript Loader - by Weirdosport - 28.05.2009, 17:23
Re: [INC] Filterscript Loader - by Burridge - 28.05.2009, 17:34
Re: [INC] Filterscript Loader - by Ignas1337 - 29.05.2009, 14:15
Re: [INC] Filterscript Loader - by Ignas1337 - 29.05.2009, 14:16
Re: [INC] Filterscript Loader - by Ignas1337 - 29.06.2009, 19:58

Forum Jump:


Users browsing this thread: 2 Guest(s)