Hello everyone,
This is my first addon which I am developing and I have a problem
CalendarGetDayEvent returns
name - Name of the character (string)
level - The character's current level (number)
className - Localized name of the character's class (string)
classFileName - Non-localized token representing what the character's class (string)
inviteStatus - inviteStatus - The character's status Regarding the event (number)
but when I try to get the value inviteStatus I always get a nil value ...
example
.....
CalendarOpenEvent(0, today[3], i) ;
num = CalendarEventGetNumInvites()
for e=1,num,1 do
name, level, className, aSML = CalendarEventGetInvite (e);
players [e] = {name = name, level = level, className = className, inviteStatus = inviteStatus, aSML = aSML };
for k, v in pairs (players) dooutput = output .. v.name .. v.level .. v.className .. v.inviteStatus .. "\ n"
end
end
all other value work, but I inviteStatus returns error ...
can you tell me something?
thanks Nervus