Quote:
Originally Posted by ConnorMcLeod
PHP Code:
enum DataField {
Did,
Dname[32],
Dauthid[32],
Dip[22],
Dalive,
CsTeams:Dteam, // not sure what you want here
etc...
}
new data[33][DataField];
get_user_name(id, data[id][Dname], 31)
|
arkshine told me that you couldn't use arrays in enum{}.
He told me that you have to use EngFunc_AllocString when setting it, then use glb_EncodeText (or whatever it is) after you retrieve it to get it to a string.
__________________