SA-MP Forums Archive
Filterscript doesnt load - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Filterscript doesnt load (/showthread.php?tid=168716)



Filterscript doesnt load - gamer931215 - 17.08.2010

Hello guys, well i tried doing an simple PM system with return command using dcmd for the first time.

Well the script has no errors etc, but when i load it the rcon screen says "Filterscript (poop.pwn blablabla) succesfully loaded".

But the OnFilterScriptInit debug message is not appearing and the commands arent working

Anybody got an idea what the problem is ? Source: http://pastebin.com/Vqwztns8


Re: Filterscript doesnt load - Lookin - 17.08.2010

im getting the exact same problem but with my automsg and auto weather fs (lookinsamaw) can someone out there help us?


Re: Filterscript doesnt load - Mike Garber - 17.08.2010

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
Hello guys, well i tried doing an simple PM system with return command using dcmd for the first time.

Well the script has no errors etc, but when i load it the rcon screen says "Filterscript (poop.pwn blablabla) succesfully loaded".

But the OnFilterScriptInit debug message is not appearing and the commands arent working

Anybody got an idea what the problem is ? Source: http://pastebin.com/Vqwztns8
If you're doing It ingame, "Print" messages aren't supposed to show up.


Re: Filterscript doesnt load - gamer931215 - 17.08.2010

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
If you're doing It ingame, "Print" messages aren't supposed to show up.
Even then, the commands arent working either!


Re: Filterscript doesnt load - Lookin - 17.08.2010

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
If you're doing It ingame, "Print" messages aren't supposed to show up.
well ya but but with mine the logs say its loaded but it doesn't kick in in game and so i tryed /rcon reloadfs lookinsamaw and it says unload failed load failed


Re: Filterscript doesnt load - Mike Garber - 17.08.2010

Try to
pawn Код:
return 1;
at the end of every "public" function.

You haven't returned a value for OnFilterScriptInit for example (among with others)


Re: Filterscript doesnt load - Lookin - 17.08.2010

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Try to
pawn Код:
return 1;
at the end of every "public" function.

You haven't returned a value for OnFilterScriptInit for example (among with others)
im still having the same problems

http://pastebin.com/upRGiPxn


Re: Filterscript doesnt load - Mike Garber - 17.08.2010

Quote:
Originally Posted by Lookin
Посмотреть сообщение
im still having the same problems

http://pastebin.com/upRGiPxn
Try to remove line 5,32,34


Re: Filterscript doesnt load - Lookin - 17.08.2010

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Try to remove line 5,32,34
the weather has kicked in but its still not showing the msges


Re: Filterscript doesnt load - Mike Garber - 17.08.2010

Quote:
Originally Posted by Lookin
Посмотреть сообщение
the weather has kicked in but its still not showing the msges
Because you have not defined what player that should receive the messages.
Try this;
http://pastebin.com/6dfjDqWg