14.09.2012, 16:07
I'm getting an irritating error on compile!
warning 229: index tag mismatch (symbol "gAdminData")
I didn't get this on the race distance sorting, this is for an /admins dialog that shows admins in order of level.
Declaration:
The error line:
Am I doing something wrong? I guess this error is nothing to be worried about really, but it's still annoying me! I prefer to have a clean compile console
warning 229: index tag mismatch (symbol "gAdminData")
I didn't get this on the race distance sorting, this is for an /admins dialog that shows admins in order of level.
Declaration:
pawn Code:
enum E_ADMIN_DATA
{
admin_Name[MAX_PLAYER_NAME],
admin_Level
}
new
gAdminData[MAX_ADMIN][E_ADMIN_DATA];
pawn Code:
SortDeepArray(gAdminData, admin_Level, .order = SORT_DESC);
![Tongue](images/smilies/razz.gif)