Enum array sizeof?
#1

Is possible to use sizeof of array in enum? Example:

pawn Код:
static stock MyGlobalArray[MAX_PLAYERS][BLAH][ENUM];

enum ENUM
{
    array[20];
}
Reply
#2

Quote:
Originally Posted by Riwerry
Посмотреть сообщение
Is possible to use sizeof of array in enum? Example:

pawn Код:
static stock MyGlobalArray[MAX_PLAYERS][BLAH][ENUM];

enum ENUM
{
    array[20];
}
Yes, if its a string you will have to format it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)