Hi all
this is my code...
Code:
CalendarOpenEvent(0, today[3], i) ;
-- info of raid
local title, description, creator, eventType, textureIndex, weekday, month, day, year, hour, minute, calendarType , asML=CalendarGetEventInfo()
raid[1]={
title = title,
description = description,
creator = creator,
eventType = eventType,
textureIndex = textureIndex,
weekday = weekday,
month = month,
day = day,
year = year,
hour = hour,
minute = minute,
calendarType =calendarType,
asML = asML
}
output = output .. "<raid>\n<r_info>\n"
for k,v in pairs(raid) do
output = output .. v.textureIndex
end
v.textureIndex value is always 1 even if I put an event calendar in pvp or a raid, can you tell me why?
thanks