24.10.2013, 13:09
(
Последний раз редактировалось xVIP3Rx; 24.10.2013 в 16:53.
)
Okay I'm trying to create a file and store data on it, the file is created but there is no data, here's the code..
The file is created, But there is nothing inside it, So what's the problem ?
pawn Код:
#define PATH "Somewhere/%s.ini"
if(dialogid == 1)
{
if(response)
{
if(strlen(inputtext))
{
new File[100];
format(File, sizeof(File), PATH, inputtext);
if(!fexist(File))
{
new INI:ACCOUNT = INI_Open(File);
INI_WriteInt(ACCOUNT, "Test", 1);
{
}
}
return 1;
}