Weird error: invalid symbol name and invalid function or declaration
#2

You're attempting to declare float values inside an integer, by default. This is impossible, you need to go by another way.

pawn Код:
#define CONF_SIZE           7
#define CONF_BASE           (50)

enum skeletonConf
{
    skeleton_1,
    Float:skeleton_2,
    skeleton_3
}
new Conf[CONF_SIZE][skeletonConf];

// Usage:
/* Conf[0][skeleton_1] = 10;
Conf[0][skeleton_2] = CONF_BASE * 5 * 1.05;
Conf[0][skeleton_3] = 5; */
Reply


Messages In This Thread
Weird error: invalid symbol name and invalid function or declaration - by Reboma - 04.02.2014, 10:03
Re: Weird error: invalid symbol name and invalid function or declaration - by BullseyeHawk - 04.02.2014, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)