My Filterscripts Don't Work Well
#1

Filterscripts that i coded don't work well when i don't write its name first in server.cfg at filterscripts line like:

filterscripts myfs other fs

But when i write its name first in server.cfg at filterscripts line it works very well. What can be its reason?

Its download link is: http://www.solidfiles.com/d/67b53c851e/
Reply
#2

All filterscripts are disabled on default.
You have to kinda activate them by writing their name (Capital sensitive) behind the "filterscripts" in your server.cfg.
Hope i helped you
Reply
#3

Quote:
Originally Posted by phantomcraft
Посмотреть сообщение
All filterscripts are disabled on default.
You have to kinda activate them by writing their name (Capital sensitive) behind the "filterscripts" in your server.cfg.
Hope i helped you
I have already activated them by writing their name. But OnPlayerConnect, OnPlayerCommandText etc. publics dont work properly when i write its name in server.cfg for example: "filterscripts fsdebug ls_elevator myfs" but when i write its name in server.cfg for example "filterscripts myfs fsdebug ls_elevator" it works properly.
Reply
#4

Quote:
Originally Posted by Evoturk
Посмотреть сообщение
I have already activated them by writing their name. But OnPlayerConnect, OnPlayerCommandText etc. publics dont work properly when i write its name in server.cfg for example: "filterscripts fsdebug ls_elevator myfs" but when i write its name in server.cfg for example "filterscripts myfs fsdebug ls_elevator" it works properly.
No idea man you'll have to look further..
Reply
#5

some filterscripts have to be listed before others to work properly

i'm not sure exactly what the rule is but I usually list the ones that use the scriptfiles folder or use any plugins first
Reply
#6

Good but i haven't one script, i have 5-6 scripts and when i use 2 or more of them, one of them works properly but others don't work. This problem have been in users who uses my scripts.
Reply
#7

Quote:
Originally Posted by Evoturk
Посмотреть сообщение
Good but i haven't one script, i have 5-6 scripts and when i use 2 or more of them, one of them works properly but others don't work. This problem have been in users who uses my scripts.
The way I stopped this type of bug was to implement all the filterscript's i used and make into my gamemode, It make's it easier when you release / if you release it and its alot simplier, with all the filterscripts i include I always added things like this as well to help me edit them later on.

pawn Код:
//Roleplay house system

//Roleplay Car system

//Job system

//admin commands

//roleplay object's with createdynamic

//normal objects with createobject

//faction vehicle's

//rentable vehicles.
if you import the filterscript and change it's code to your gamemode code it is way easier and if you add thing's to help you refind the script you can simply remove and things.
Reply
#8

Thanks for information but i couldn't understand it well. Can you tell it more?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)