Just some question? - 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: Just some question? (
/showthread.php?tid=353845)
Just some question? -
Chris1337 - 24.06.2012
What can i do / not do on a include file ? i mean ... can i set a timer if i add #include <a_samp> ?
Re: Just some question? -
Pangea - 24.06.2012
You can place an enitre GM in a include file and only have #include <gamemode.inc> in your .pwn.
I wouldn't recommend it, but it's possible.
Although you need to include the includes needed for the code you have in your include.
For instance, you need to include a_samp.inc in gamemode.inc for the samp functions