SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 06/01/2011, 06:03 AM   #1
r3k1lLz_
Big Clucker
 
Join Date: Jan 2010
Location: 127.0.0.1
Posts: 88
Reputation: 0
Default [HELP!]Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

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

Last edited by r3k1lLz_; 06/01/2011 at 06:50 AM.
r3k1lLz_ is offline  
Old 06/01/2011, 06:49 AM   #2
r3k1lLz_
Big Clucker
 
Join Date: Jan 2010
Location: 127.0.0.1
Posts: 88
Reputation: 0
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

Help anyone?
r3k1lLz_ is offline  
Old 06/01/2011, 06:54 AM   #3
Kitten
High-roller
 
Kitten's Avatar
 
Join Date: Jul 2010
Location: United States
Posts: 2,361
Reputation: 323
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

Can you explain more clearly.

EDIT: So u want a FS to be a include aka a inc file?
Kitten is offline  
Old 06/01/2011, 06:57 AM   #4
r3k1lLz_
Big Clucker
 
Join Date: Jan 2010
Location: 127.0.0.1
Posts: 88
Reputation: 0
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

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.
r3k1lLz_ is offline  
Old 06/01/2011, 07:18 AM   #5
iggy1
High-roller
 
iggy1's Avatar
 
Join Date: Mar 2009
Location: One past the end.
Posts: 2,423
Reputation: 271
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

Y_Less 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).
iggy1 is offline  
Old 06/01/2011, 07:36 AM   #6
r3k1lLz_
Big Clucker
 
Join Date: Jan 2010
Location: 127.0.0.1
Posts: 88
Reputation: 0
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

How do I do ALS, I'm new to that stuff.
r3k1lLz_ is offline  
Old 06/01/2011, 07:49 AM   #7
iggy1
High-roller
 
iggy1's Avatar
 
Join Date: Mar 2009
Location: One past the end.
Posts: 2,423
Reputation: 271
Default Re: Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include

http://forum.sa-mp.com/showthread.php?t=85907

I hope that helps.
iggy1 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FS+ Include]YossI's Health include GiP_YossI Filterscripts 10 17/04/2011 06:15 PM
Help making an include gamer931215 Help Archive 15 02/09/2010 12:04 PM
Help me a include! mYzCorleone Help Archive 4 21/07/2010 07:06 AM
Need an Include Mark k Help Archive 4 20/12/2009 12:03 PM
making your script to upload files wich include vehicles, objects etc. boelie Help Archive 4 15/09/2009 10:50 AM


All times are GMT. The time now is 05:10 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.