[HELP] Y_files
#3

just use "fexist" so like:
Код:
format(AccountFile, sizeof(AccountFile), "/Accounts/%s", AccountInfo[playerid][pAccountName]);
if(fexist(AccountFile)){
code for the case that the file exists, here
}
if(!fexist(AccountFile)){
code for the case that it doesn't exist here
}
I hope this is what you need:P
Reply


Messages In This Thread
[HELP] Y_files Error, Please help! - by Gforcez - 26.12.2010, 16:53
Re: [HELP] Y_files - by Gforcez - 26.12.2010, 18:11
Re: [HELP] Y_files - by Sascha - 26.12.2010, 20:27
Re: [HELP] Y_files - by [L3th4l] - 26.12.2010, 20:34

Forum Jump:


Users browsing this thread: 2 Guest(s)