06.07.2016, 16:41
There is indeed a bug with filterscripts.
When I use loadfs, OnPlayerCommandReceived/Performed callbacks and commands from that filterscript aren't called, only the ones from gamemode, even when I call commands from filterscript.
When I load the filterscript from server.cfg, no gamemode command is working, only commands from that filterscript.
I return 1 in both callbacks in both gamemode and filterscripts.
Also, this is what crashdetect prints when I load again that filterscript, after it was unloaded:
. Yes, the plugin was loaded correctly, I use 3.1.
I have
on top of the filterscript.
You should test this yourself and solve it.
When I use loadfs, OnPlayerCommandReceived/Performed callbacks and commands from that filterscript aren't called, only the ones from gamemode, even when I call commands from filterscript.
When I load the filterscript from server.cfg, no gamemode command is working, only commands from that filterscript.
I return 1 in both callbacks in both gamemode and filterscripts.
Also, this is what crashdetect prints when I load again that filterscript, after it was unloaded:
Quote:
[debug] Run time error 19: "File or function is not found" [debug] PC_Init |
I have
pawn Код:
#define FILTERSCRIPT
You should test this yourself and solve it.