SA-MP Forums Archive
Filterscript is not working! - 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: Filterscript is not working! (/showthread.php?tid=451035)



Filterscript is not working! - Anak - 15.07.2013

Hello guys, i have commands filterscript which is not working on server it says that

Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[21:42:29] 
[21:42:29] Server Plugins
[21:42:29] --------------
[21:42:29]  Loading plugin: streamer.dll
[21:42:29] 

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[21:42:29]   Loaded.
[21:42:29]  Loading plugin: sscanf.dll
[21:42:29] 

[21:42:29]  ===============================

[21:42:29]       sscanf plugin loaded.     

[21:42:29]    © 2009 Alex "******" Cole

[21:42:29]    0.3d-R2 500 Players "dnee"

[21:42:29]  ===============================

[21:42:29]   Loaded.
[21:42:29]  Loading plugin: Whirlpool.dll
[21:42:29]  
[21:42:29]  ==================
[21:42:29]  
[21:42:29]   Whirlpool loaded
[21:42:29]  
[21:42:29]  ==================
[21:42:29]  
[21:42:29]   Loaded.
[21:42:29]  Loaded 3 plugins.

[21:42:29] 
[21:42:29] Filterscripts
[21:42:29] ---------------
[21:42:29]   Loading filterscript 'Commands.amx'...
[21:42:29]   Loading filterscript 'otherfs.amx'...
[21:42:29]   Loaded 2 filterscripts.

[21:42:29] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[21:42:29] 
               ----------------------------------
[21:42:29] My server
[21:42:29] ----------------------------------

[21:42:29] Number of vehicle models: 28
but any command or any thing is not working even print in onfilterscriptint is not showing up idk what is problem...


Re: Filterscript is not working! - JimmyCh - 15.07.2013

Okay you need to check if you got all the plugins in your plugins folder and added to server.cfg

Also check if all pawno include files are there too.
Hope this helps.


Re: Filterscript is not working! - Anak - 15.07.2013

Yes i have checked that .... but its not working..


Re: Filterscript is not working! - Bakr - 15.07.2013

Make sure it is in server.cfg and the script is in the appropriate directory. Anything beyond this will require code for help.


Re: Filterscript is not working! - JimmyCh - 15.07.2013

It happens to me sometimes, but when I reload the filterscript it runs.
Anyway it's due to missing plugins or wrong directory or such..
Tell us what happens.


Re: Filterscript is not working! - Anak - 15.07.2013

maybe i'm missing some plugin.. is there any way to check that what plugin it needs?


Re: Filterscript is not working! - JimmyCh - 15.07.2013

Hmm, try this:
https://sampforum.blast.hk/showthread.php?tid=249226


Re: Filterscript is not working! - Anak - 15.07.2013

So, by using that plugin i get that on server console

Код:
[21:57:04]   Loading filterscript 'Commands.amx'...
[21:57:04]    Error: Function not registered: 'Streamer_CallbackHook'
[21:57:04]    Error: Function not registered: 'EditDynamicObject'



Re: Filterscript is not working! - JimmyCh - 15.07.2013

For first one, you must have:
pawn Код:
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}
Also update your streamer plugin and it compile and it should work.
About the second one, I don't know.. That's all I can do for u

Hope I helped <3


Re: Filterscript is not working! - Bakr - 15.07.2013

You need the streamer plugin.

Neither me or JimmyCh know what he is talking about.