11.10.2015, 12:50
I would like to ask that why is there such a difference in enums in Pawn and C/C++? I heard that Pawn is made from C, then Why in Pawn we use 'Enums' as kind of Variables, but in C/C++ there's a big difference
In Pawn:
But in C++
Why is there so much difference, Or am I mistaken somewhere?
In Pawn:
Код:
enum Person { Money, Age }; new hBeing[playerid][Person]; // then we use it as hBeing[playerid][Money]=1000;
Код:
enum Color { red, green, blue } // then we use it as Color x=red;// or enum Color x=red; (in C I think?)