SA-MP Forums Archive
Filterscript loads but command isn't working. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Filterscript loads but command isn't working. (/showthread.php?tid=432240)



Filterscript loads but command isn't working. - gnoomen2 - 21.04.2013

I host my server on Colorhost, i have my filterscript.amx file in the filterscripts folder, i go in-game, log in to Rcon, type
/rcon loadfs frankfs

Says the fs loaded. I type the command: /fson Says unknown command. What can couse this?

The whole FS:

http://pastebin.com/jiS4ZXuF

Please help!

EDIT: Also happens on local host.


Re: Filterscript loads but command isn't working. - SuperViper - 21.04.2013

Not sure about this but make sure ZCMD is included in your gamemode.


Re: Filterscript loads but command isn't working. - gnoomen2 - 22.04.2013

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
Not sure about this but make sure ZCMD is included in your gamemode.
Thanks for your reply, ZCMD was and is included in the gamemode. Still no solution :/


Re: Filterscript loads but command isn't working. - Jstylezzz - 22.04.2013

Are you using OnPlayerCommandText in your gamemode? ZCMD and OnPlayerCommandText have issues with eachother, in other words, you can use ZCMD or OnPlayerCommandText, but not both at the same time.


Re: Filterscript loads but command isn't working. - gnoomen2 - 22.04.2013

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
Are you using OnPlayerCommandText in your gamemode? ZCMD and OnPlayerCommandText have issues with eachother, in other words, you can use ZCMD or OnPlayerCommandText, but not both at the same time.
Nope, No public OnPlayerCommandText in the gamemode or the filterscript.


Re: Filterscript loads but command isn't working. - Lucky™ - 23.04.2013

Did you added your filterscript name into server.cfg?


Re: Filterscript loads but command isn't working. - gnoomen2 - 23.04.2013

Quote:
Originally Posted by Lucky™
Посмотреть сообщение
Did you added your filterscript name into server.cfg?
I have tried that also, no difference. It loads perfectly, but no command is working. ( or nothing from the script.)


Re: Filterscript loads but command isn't working. - mahony0509 - 23.04.2013

This has happened me before, if you are using plugins, edit your server config and add .dll or .so to the end of every plugin.


Re: Filterscript loads but command isn't working. - gnoomen2 - 23.04.2013

Quote:
Originally Posted by mahony0509
Посмотреть сообщение
This has happened me before, if you are using plugins, edit your server config and add .dll or .so to the end of every plugin.
That didn't work for me


Re: Filterscript loads but command isn't working. - gnoomen2 - 25.04.2013

Would it maybe solve if i deleted many other folders with the sa-mp development tools, gm's, filterscripts etc, because i do have several folders with thorse files?

Does anyone have any another solution?


Re: Filterscript loads but command isn't working. - Fredrick - 25.04.2013

try putting the commands into your gamemode i dont no why you loading that fs when its only commands etc.


Re: Filterscript loads but command isn't working. - gnoomen2 - 26.04.2013

Yeah i can script in the GM, because it's ZCMD, but i use fs for other GM's that uses strcmp + i don't need to restart the server, only reload the filterscript.


Re: Filterscript loads but command isn't working. - Bogan - 27.04.2013

Not quite sure about this one mate.


Re: Filterscript loads but command isn't working. - Lucky™ - 27.04.2013

Quote:
Originally Posted by Bogan
View Post
Not quite sure about this one mate.
Then don't post.


Re: Filterscript loads but command isn't working. - Isolated - 27.04.2013

does /fson work ??


Re: Filterscript loads but command isn't working. - gnoomen2 - 27.04.2013

Quote:
Originally Posted by Isolated
View Post
does /fson work ??
No, It does not work, however, i recently added a new filterscript and found out that other filterscripts was working, so what i did was create a new by clicking on "new" in pawno, and made frankfs2.amx and /fson2 and it worked

I still have no idea why the other one didn't work. Since other filterscripts did work at the server, i tought it must be something with the script maybe, and i have posted it here, but no one has said something about it.

Anyway, as i said, i now have a working FS


Re: Filterscript loads but command isn't working. - ImSure - 27.04.2013

make sure try to fix your plugins on the .cfg