Hey guys,
I'm trying to set the status of a certain number of players in an event. (doh)
Pseudo:
Code:
OpenCalendarEvent(...)
OnEvent
for i=1, numInvites do CalendarEventGetInvite(i)
save index, name, class etc.
CloseCalendarEvent()
end
Do Stuff... so far, so good
OpenCalendarEvent(...)
OnEvent
CalendarEventSetStatus(savedIndex, 2)
CloseCalendarEvent()
end
Any idea what I'm doing wrong? The event is open, the index is correct, still it doesn't commit the changes.
I did try CalendarUpdateEvent() before closing, no difference.
Any help would be much appreciated!