Including files
#2

It works fine for me, does your code look similar to this:
gamemodes - gamemode.pwn
Код:
#include "functions.pwn"
gamemodes - functions.pwn
Код:
#include "functions/function_one.pwn"
gamemodes/functions - function_one.pwn
Код:
stock ClearChatForPlayerID(playerid)
{
    for(new i; i != 75; i++)
	{
		SendClientMessage(playerid, 0xFFFFFFFF, "");
	}
	return 1;
}
Edit: Are you aware when including files that are in your gamemodes folder and not in the pawno/include folder that you should use #include "include_name.pwn" with quotation marks instead of #include <include_name>
Reply


Messages In This Thread
Including files - by dicknyson - 02.01.2018, 09:49
Re: Including files - by MEW273 - 02.01.2018, 09:54
Re: Including files - by dicknyson - 02.01.2018, 09:58
Re: Including files - by MEW273 - 02.01.2018, 10:04
Re: Including files - by dicknyson - 02.01.2018, 10:06
Re: Including files - by MEW273 - 02.01.2018, 10:09
Re: Including files - by Misiur - 02.01.2018, 10:10
Re: Including files - by dicknyson - 02.01.2018, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)