[Pedido] DOF2 nгo escreve em arquivo
#1

Eae galera, eu sou novo em pawn, depois de procurar um pouco mais sobre dof2 criei esse fs, que nгo esta escrevendo as informaзхes no aquivo, e tambem nгo esta colocando o nome do player no arquivo, alguem poderia corrigi-lo pra mim?

Код:
#include <a_samp>
#include <dof2>

#if defined FILTERSCRIPT

#define VIP "VIP/%s.ini

new Vip [MAX_PLAYERS];

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	//
	
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}

public OnPlayerConnect(playerid)
{
	if(!DOF2_FileExists("VIP/%s.ini"))
	{
	    DOF2_CreateFile("VIP/%s.ini");
	}
	return 1;
}
Reply


Messages In This Thread
DOF2 nгo escreve em arquivo - by BartWhite - 21.08.2015, 03:15
Re: [Pedido] arrumar code - by n0minal - 21.08.2015, 03:34
Re: DOF2 nгo escreve em arquivo - by BartWhite - 21.08.2015, 15:57
Re: DOF2 nгo escreve em arquivo - by n0minal - 21.08.2015, 16:24
Re: DOF2 nгo escreve em arquivo - by BartWhite - 21.08.2015, 16:28
Re: DOF2 nгo escreve em arquivo - by n0minal - 21.08.2015, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)