SA-MP Forums Archive
Problem with filterscript, please help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Problem with filterscript, please help! (/showthread.php?tid=299117)



Problem with filterscript, please help! - Panormitis - 24.11.2011

Guys i have a huge problem. I have a server on serverffs, all was good at the beginning, but now every time i add a new filterscript, the /pm is not working on my server, when i remove the filterscript the /pm works, now i can't add other filterscripts because i have this problem, any help?? :/


Re: Problem with filterscript, please help! - Babul - 24.11.2011

the most common mistake is the usage of
Код:
OnPlayerCommandText
{
// your commands of the filterscript
return 1;
}
..the return 1; avoids further processing of your typed command, so its aborted before the filterscript can pass the execution of the command.
try replacing the return 1; with return 0;
it should do the trick.