fcreate INI file
#1

PHP код:
error 035argument type mismatch (argument 1
These both 2 lines get this error.Why?
PHP код:
fcreate(ZoneFile(ZoneCount));
new 
INI:file INI_Open(ZoneFile(ZoneCount)); 
PHP код:
stock ZoneFile(zoneid)
{
    new 
filename;
    
format(filenamesizeof(filename), "Zones/%d.ini"zoneid);
    return 
filename;
}
stock fcreate(filename[])
{
    if(
fexist(filename)) return 0;
    new 
File:file fopen(filenameio_write);
    
fclose(file);
    return 
1;

Reply


Messages In This Thread
fcreate INI file - by SumX - 29.07.2015, 12:08
Re: fcreate INI file - by Mariciuc223 - 29.07.2015, 12:10
Re: fcreate INI file - by SumX - 29.07.2015, 12:12
Re: fcreate INI file - by Mariciuc223 - 29.07.2015, 12:15
Re: fcreate INI file - by dominik523 - 29.07.2015, 12:19

Forum Jump:


Users browsing this thread: 1 Guest(s)