29.07.2011, 08:16
I have a pretty big enum and I want to print all it variables.
For example:
I want a code that prints:
Kills
Deaths
Money
PlayTime
I know we can use enum loop to get the enum values, but I don't know how to do it to get the enum variables. Is it possible ?
For example:
pawn Код:
enum
{
Kills,
Deaths,
Money,
PlayTime
}
Kills
Deaths
Money
PlayTime
I know we can use enum loop to get the enum values, but I don't know how to do it to get the enum variables. Is it possible ?