08.10.2013, 13:47
2. You've just created a tag! Simply creating a variable with your new custom tag will do this. Also keep in mind that named enums register a new tag type.
1. Really, it's completely up to you. I don't quite know what do you mean by creating enum. Do you have in mind something like enumerated array?
In either case, think what will be easier for you to work with and go with it.
1. Really, it's completely up to you. I don't quite know what do you mean by creating enum. Do you have in mind something like enumerated array?
pawn Код:
#define MAX_CUSTOM_TEXTDRAWS 20
enum E_CUSTOM_TEXTDRAW {
Text:tid,
tmessage[128]
}
static
CustomTextDraws[MAX_CUSTOM_TEXTDRAWS][E_CUSTOM_TEXTDRAW],
Iterator:CustomTextDraws<MAX_CUSTOM_TEXTDRAWS>;