Filterscript not load (OnFilterscriptInit not called) - commands not working
#1

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.
Reply
#2

did u tried removing onplayercommandtext cuz sometimes zcmd along with onplayercommandtext wont work
Reply
#3

Quote:
Originally Posted by Shaheen
Посмотреть сообщение
did u tried removing onplayercommandtext cuz sometimes zcmd along with onplayercommandtext wont work
Removed the default OnPlayerCommandText - no difference
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)