SA-MP Forums Archive
Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - 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: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include (/showthread.php?tid=207432)



[HELP!]Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - r3k1lLz_ - 06.01.2011

As you can see on the subject I'm asking if you can do that without using Hooks by Y-Less.


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - r3k1lLz_ - 06.01.2011

Help anyone?


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - Kitten - 06.01.2011

Can you explain more clearly.

EDIT: So u want a FS to be a include aka a inc file?


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - r3k1lLz_ - 06.01.2011

err What I want is with some scripts like SA-MP Streamer Plugin v2.5.2 by Incognito he has like OnPlayerSpawn and stuff in the .inc/include and I want to do that so when my include is included it does that function when the person spawns without putting like r_OnPlayerSpawn(playerid); or something on the OnPlayerSpawn function in the filterscript.


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - iggy1 - 06.01.2011

****** has a post on callback hooking if your not going to use y_hooks then you will need to do your own callback hooking (ALS), No other way is possible. (that i'm aware of).


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - r3k1lLz_ - 06.01.2011

How do I do ALS, I'm new to that stuff.


Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include - iggy1 - 06.01.2011

https://sampforum.blast.hk/showthread.php?tid=85907

I hope that helps.