04.02.2014, 10:03
Hello,
I trying to write a simple variable to store the config values, but i get two errors:
- error 020: invalid symbol name ""
- error 010: invalid function or declaration
I hope somebody can help me.
I trying to write a simple variable to store the config values, but i get two errors:
- error 020: invalid symbol name ""
- error 010: invalid function or declaration
pawn Код:
#define CONF_SIZE 7
#define CONF_BASE (50)
new Conf[CONF_SIZE][3] =
{
{ 10, CONF_BASE, 0 },
{ 10 * 5, CONF_BASE * 5 * 1.05, 5 },
{ 10 * 10, CONF_BASE * 10 * 1.10, 10 }, // error 020: invalid symbol name ""
{ 10 * 50, CONF_BASE * 50 * 1.15, 15 },
{ 10 * 100, CONF_BASE * 100 * 1.20, 20 },
{ 10 * 500, CONF_BASE * 500 * 1.25, 25 },
{ 10 * 1000, CONF_BASE * 1000 * 1.30, 30 }
};// error 010: invalid function or declaration