02.04.2016, 16:29
Code should be grouped by purpose, not by type. The idea behind splitting it up is to not have to look at code you're not currently working on.
Also I do not work out of the pawno/include folder. I leave that folder as it is so it can be overwritten as a whole during updates. I create a "source" folder in the root of the server directory and work from there. So a typical include line can look like:
or
Also I do not work out of the pawno/include folder. I leave that folder as it is so it can be overwritten as a whole during updates. I create a "source" folder in the root of the server directory and work from there. So a typical include line can look like:
PHP код:
#include "..\source\3rd_party\plugins\sscanf.inc"
PHP код:
#include "..\source\minigames\stadium.inc"