Gamemode based in includes
#7

I wouldn't pollute the pawno/include folder either. I keep this folder exclusively for the default SA-MP API. I create a "source" folder in the server root and I store everything in there. Since the include directive accepts a path you can also go up in the directory tree. So if your main gamemode is in the gamemodes directory you can include like this:
PHP Code:
#include "..\source\libraries\third_party\a_mysql.inc" 
Reply


Messages In This Thread
Gamemode based in includes - by Whillyrez - 07.02.2017, 02:36
Re: Gamemode based in includes - by Luis- - 07.02.2017, 02:39
Re: Gamemode based in includes - by Sew_Sumi - 07.02.2017, 04:56
Re: Gamemode based in includes - by AmigaBlizzard - 07.02.2017, 09:59
Re: Gamemode based in includes - by PrO.GameR - 07.02.2017, 10:29
Re: Gamemode based in includes - by AmigaBlizzard - 07.02.2017, 11:15
Re: Gamemode based in includes - by Vince - 07.02.2017, 11:46
Re: Gamemode based in includes - by Sew_Sumi - 07.02.2017, 19:55
Re: Gamemode based in includes - by PrO.GameR - 08.02.2017, 10:47
Re: Gamemode based in includes - by AmigaBlizzard - 08.02.2017, 11:02

Forum Jump:


Users browsing this thread: 1 Guest(s)