ZCMD only works in 1 filterscript
#2

Quote:
Originally Posted by doodlebob666
Посмотреть сообщение
Whenever I have a zcmd use in more than 1 filterscript file, the first filterscript that loads with a zcmd renders the next file useless, because it stops any command in the other filterscript. How do I fix this?\

ex. in my server.cfg "filterscripts acmd admin jug veh" when I try to use an "admin" filterscript command in game, nothing happens. No Server Unknown Command or nothing. but when I use "acmd" filterscript command it works.
Why is this? How do I fix it it's annoying and took me 4 hours to figure out the problem

I even tried doing this

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>

CMD:test(playerid,params[]){
SendClientMessage(playerid,0x00FFFFFF,"It Works!");
return 1;
}
then I made another filter script

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>

CMD:mother(playerid,params[]){
SendClientMessage(playerid,0x00FFFFFF,"Your Mom!");
return 1;
}
I loaded both filterscripts but when I went in game none of the cmds work.
add public OnFilterScriptInit()
and
OnFilterScriptExit()
Reply


Messages In This Thread
ZCMD only works in 1 filterscript - by doodlebob666 - 15.04.2018, 11:20
Re: ZCMD only works in 1 filterscript - by ProScripter - 15.04.2018, 15:50
Re: ZCMD only works in 1 filterscript - by doodlebob666 - 15.04.2018, 18:25
Re: ZCMD only works in 1 filterscript - by MadeMan - 15.04.2018, 19:09
Re: ZCMD only works in 1 filterscript - by doodlebob666 - 15.04.2018, 19:32
Re: ZCMD only works in 1 filterscript - by Mugala - 15.04.2018, 20:50
Re: ZCMD only works in 1 filterscript - by doodlebob666 - 16.04.2018, 04:01
Re: ZCMD only works in 1 filterscript - by UFF - 16.04.2018, 04:16
Re: ZCMD only works in 1 filterscript - by doodlebob666 - 16.04.2018, 06:02
Re: ZCMD only works in 1 filterscript - by doodlebob666 - 17.04.2018, 02:43

Forum Jump:


Users browsing this thread: 3 Guest(s)