SA-MP Forums Archive
Help please - 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: Help please (/showthread.php?tid=207702)



Help please - bartje01 - 06.01.2011

Sup guys. can I put this in an include?
never worked with includes


http://pastebin.com/F5iRqDNB


Re: Help please - iggy1 - 06.01.2011

Yes, you would need to use y_hooks, part of the YSI library by ******. Or make your own callback hooks.

Tip: Use y_hooks. https://sampforum.blast.hk/showthread.php?tid=166016


Re: Help please - bartje01 - 06.01.2011

Could you please give a little explain about it? This is the very first time I'm in touch with that xP


Re: Help please - iggy1 - 06.01.2011

There is more info in that thread than i could give. Basically whenever a callback is called that is hooked, the hook gets called at the same time. Have a read through that thread its pretty clear.


Re: Help please - bartje01 - 06.01.2011

Alright. Thanks