SA-MP Forums Archive
Can i store server commands in .inc? - 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: Can i store server commands in .inc? (/showthread.php?tid=600516)



Can i store server commands in .inc? - Agiss100 - 09.02.2016

Hello,

i wanted to break my code down to different files to keep the overview over it all.

I heard that i can store commands and other stuff in .inc files, but is it worth doing, or am i better with just throwing them into a fs.

Thanks for any answers.


Re: Can i store server commands in .inc? - itsCody - 09.02.2016

You could store them into .pwn files then include them into the game mode
https://sampforum.blast.hk/showthread.php?pid=3633786#pid3633786