25.09.2011, 08:33
Good Morning All!
I'm playing around with making a file system to optimize my server a little more. It was originally using dini as I started the project as a private server for me and a few friends, now it's expanding and file handling is draining my dedicated server of resources.
Just to point out; I probably won't be releasing it - as I know there's already loads of INI systems and the majority of the SAMP community is moving to MySQL.
I have the following enumeration line:
(I also have an array for it, but that isn't the issue/concern).
The line I posted above, when compiling, gives the following error:
I don't understand why I'm getting that error. What I'm attempting to do, I have actually done before now!
I can guarantee that someone out there will go, THERE IT IS! - That's why I'm posting here!
Thanks,
Ash
I'm playing around with making a file system to optimize my server a little more. It was originally using dini as I started the project as a private server for me and a few friends, now it's expanding and file handling is draining my dedicated server of resources.
Just to point out; I probably won't be releasing it - as I know there's already loads of INI systems and the majority of the SAMP community is moving to MySQL.
I have the following enumeration line:
pawn Код:
enum INI_Cache_ENUM {ini_FILENAME[64], ini_KEY[50][64], ini_DATA[50][128]}
The line I posted above, when compiling, gives the following error:
Код:
error 001: expected token: "}", but found "["
I can guarantee that someone out there will go, THERE IT IS! - That's why I'm posting here!
Thanks,
Ash