SA-MP Forums Archive
Unable to load filterscript! - 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: Unable to load filterscript! (/showthread.php?tid=573289)



Unable to load filterscript! - MouizGhouri - 06.05.2015

whenever i make a filterscript and try to load it so it say that "Unable to load filterscript"


Re: Unable to load filterscript! - J0sh... - 06.05.2015

Is it placed in the filterscript folder?
Is it compiled correctly, no errors?


Re: Unable to load filterscript! - MouizGhouri - 06.05.2015

yes,i get no errors and warnings + i add all needed includes and defines


Re: Unable to load filterscript! - KayJ - 06.05.2015

Post your server log


Re: Unable to load filterscript! - MouizGhouri - 06.05.2015

Код:
[22:32:28] RCON (In-Game): Player [iMouiz] sent command: loadfs commandspack
[22:32:28]   Filterscript 'commandspack.amx' load failed.
[22:32:33] RCON (In-Game): Player [iMouiz] sent command: loadfs commandspack
[22:32:33]   Filterscript 'commandspack.amx' load failed.
[22:35:23] RCON (In-Game): Player [iMouiz] sent command: loadfs kill
[22:35:23]   Filterscript 'kill.amx' load failed.
[22:49:28] RCON (In-Game): Player [iMouiz] sent command: unloadfs maps
[22:49:28]   Filterscript 'maps.amx' unloaded.
[22:49:47] RCON (In-Game): Player [iMouiz] sent command: loadfs maps



Re: Unable to load filterscript! - KayJ - 06.05.2015

Full code please


Re: Unable to load filterscript! - Toxik - 06.05.2015

maybe you got
pawn Код:
OnGamemodeInt();
and its making you unable to load it
and yeahˇ Define FS
and use callback for a FS not GM
pawn Код:
#Define Filterscript



Re: Unable to load filterscript! - MouizGhouri - 06.05.2015

Код:
#include <a_samp>
#include <ZCMD>

//------------------------------------------------------------------------------

#define Filterscript

//----------------------------(General Commands)--------------------------------

CMD:jet(playerid,params[])
{
	SetPlayerSpecialAction(playerid,2);
	return 1;
}



Re: Unable to load filterscript! - kadaradam - 06.05.2015

Lol, why are you making a filterscrtipt for only one command? Put it in your gamemode instead. I'm sure you exceeded the filterscript load limit.


Re: Unable to load filterscript! - Toxik - 06.05.2015

aahahah put it in gamemode