Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include
#1

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

Help anyone?
Reply
#3

Can you explain more clearly.

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

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

****** 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).
Reply
#6

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

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

I hope that helps.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)