Unable to load filterscript!
#1

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

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

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

Post your server log
Reply
#5

Код:
[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
Reply
#6

Full code please
Reply
#7

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
Reply
#8

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

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

#define Filterscript

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

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

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

aahahah put it in gamemode
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)