The enumerator members are only integer constants, the name of the variable cannot be converted to a string, to my knowledge at least. You'd need to size an array using the enumerator name and place the items in the array in the same order.
PHP Code:
enum Colors
{
Red,
Green,
Blue,
Purple,
Yellow
}
new cColorStrings[ Colors ][] =
{
"Red",
"Green",
"Blue",
"Purple",
"Yellow"
};
server_print( "The sun is %s" , cColorStrings[ Yellow ] );
__________________