Hello. I have this enum:
PHP Code:
enum _:DATA
{
Address[MAX_IP_LENGTH],
AuthID[MAX_AUTHID_LENGTH],
Name[MAX_NAME_LENGTH],
Frags,
Deaths,
FirstSeen,
LastVisit
}
new g_iPlayersInfo[MAX_PLAYERS + 1][DATA]
and this is how i try to get player authid
PHP Code:
get_user_authid(id, g_iPlayersInfo[id][AuthID], sizeof(DATA[AuthID]))
but i gen an error. did i create the enum correctly? Thanks.