Include a filterscript? - 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)
+--- Thread: Include a filterscript? (
/showthread.php?tid=593316)
Include a filterscript? -
Sh4d0w2 - 04.11.2015
I wanna ask you guys.Can I include a filterscript in another filterscript.What I want to do is eg: I have a filterscript that have enum pinfo [score,cash,kills,death],then I want to use that enum in another filterscript without creating a new one.Is there any way can I do this?Can I include a filterscript in filterscript?Sorry if Im asking this stupid question.Im just a newbie tho.
Re: Include a filterscript? -
Gammix - 04.11.2015
Use include the following way:
Код:
#include "../filterscripts/your_filterscript.pwn"
Re: Include a filterscript? -
Sh4d0w2 - 04.11.2015
Thx dude,I really appreciate ur help xD
Re: Include a filterscript? -
AbyssMorgan - 04.11.2015
PHP код:
#include "lol/shit.exe"