Filterscript not load (OnFilterscriptInit not called) - commands 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 not load (OnFilterscriptInit not called) - commands not working (
/showthread.php?tid=602738)
Filterscript not load (OnFilterscriptInit not called) - commands not working -
Golden. - 12.03.2016
Hello.
I made a filterscript yesterday to try out PAWN.
Today after adding another command, it no longer works. Output when launching samp-server.exe is:
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
Server Plugins
--------------
Loaded 0 plugins.
Started server on port: 7777, with maxplayers: 50 lanmode is OFF.
Filterscripts
---------------
Loading filterscript 'test.amx'...
Loaded 1 filterscripts.
AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
----------------------------------
Bare Script
----------------------------------
Number of vehicle models: 0
As you can see, the filterscript "test" is said to be loaded, but the OnFilterscriptInit print commands are not executed..
The filterscript compiles fully. I have tried deleting it and recompiling it.
Here is the test.amx filterscript:
http://pastebin.com/3wEAwCvv
As well as this, none of the commands within the filterscript are recognized and I get the message "SERVER: Unknown command" shown if I try to execute any of them.
Re: Filterscript not load (OnFilterscriptInit not called) - commands not working -
Shaheen - 12.03.2016
did u tried removing onplayercommandtext cuz sometimes zcmd along with onplayercommandtext wont work
Re: Filterscript not load (OnFilterscriptInit not called) - commands not working -
Golden. - 12.03.2016
Quote:
Originally Posted by Shaheen
did u tried removing onplayercommandtext cuz sometimes zcmd along with onplayercommandtext wont work
|
Removed the default OnPlayerCommandText - no difference