[Ajuda] Warning DOF2_FileExists
#1

ai galera sou novato em Includes(mais ou menos), ta dando warning nessa linha, alguem sabe arruma?
ta dando erro na if(DOF2_FileExists(File))
Код:
public OnPlayerConnect(playerid)
{
    new File[70], sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(File, sizeof(File), "%s.ini", sendername);
    
        AlreadyUse[playerid] = false; return true;
        
       	if(DOF2_FileExists(File))
       	{
	        PlayerInfo[playerid][pSkin] = DOF2_GetInt(File, "Skin");
	        SendClientMessage(playerid, -1, "Arquivos Carregados!");
        	DOF2_CreateFile(File); 

		    DOF2_SetInt(File, "Skin", 23); 
		    DOF2_SaveFile();
		    SendClientMessage(playerid, -1, "Arquivos Criados");
		    OnPlayerConnect(playerid);
		    }
		return 1;
}
Reply


Messages In This Thread
Warning DOF2_FileExists - by Bigdk - 15.04.2015, 21:17
Re: Warning DOF2_FileExists - by Cleyson - 15.04.2015, 21:23
Re: Warning DOF2_FileExists - by Bigdk - 15.04.2015, 21:26
Re: Warning DOF2_FileExists - by Dayvison_ - 15.04.2015, 21:28
Re: Warning DOF2_FileExists - by Bigdk - 15.04.2015, 21:31
Re: Warning DOF2_FileExists - by ProKillerpa - 15.04.2015, 21:44
Re: Warning DOF2_FileExists - by ipsLuan - 15.04.2015, 22:23
Re: Warning DOF2_FileExists - by [BC]Vinny - 16.04.2015, 00:32

Forum Jump:


Users browsing this thread: 1 Guest(s)