06.03.2015, 22:23
Код:
enum test
{
testvar,
testtext[6][32]
}
enum test
{
testvar,
testtext[6][32]
}
|
enum e_pInfo { pUserid, } new g_PlayerInfo[MAX_PLAYERS][e_pInfo], |
of course playerid probably won't be necessary if it isn't user data.
enum test
{
testvar,
testtext[32]
}
new Something[MAX_PLAYERS][Enum name which is test]
What you can't do is :
Something[MAX_PLAYERS][testtext] ="....."
because Enums are not arrays.
you can use strmid or format I think to insert text in it.
Or
new testtext[6][32];
testtext[0..5]="Working";