File Already Exists-problem.
#2

You need to format the string, where the file is located.

Код:
if(!fexist(file))
Example only:
Код:
new file[256];
new name[24];
GetPlayerName(playerid, name, 24);
format(string, 256, "my_gamemode/accounts/%s.ini", name);
if(!fexists(string))
{
 //file doesn't exist blah blah
}
else
{
  login
}
Reply


Messages In This Thread
File Already Exists-problem. - by IcyBlight - 11.05.2010, 18:28
Re: File Already Exists-problem. - by Rac3r - 11.05.2010, 18:33
Re: File Already Exists-problem. - by IcyBlight - 11.05.2010, 18:42
Re: File Already Exists-problem. - by Jefff - 11.05.2010, 18:47
Re: File Already Exists-problem. - by IcyBlight - 11.05.2010, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)