Returns whether the player can report an event invitation as spam. If all arguments are omitted, uses the event selected by CalendarContextSelectEvent.
See also Calendar functions, Complaint functions.
Signature:
canReport = CalendarContextEventCanComplain([monthOffset,] day, index)
Arguments:
monthOffset- Month containing an event relative to the calendar's currently displayed month (number)-1- Month preceding the calendar's current month0- The calendar's current month (i.e. same month as CalendarGetMonth())1- Month after the calendar's current monthnil- Use the event selected byCalendarContextSelectEventand ignore further arguments
day- Day of the month containing an event (number)index- Index of an event on the given day (from1toCalendarGetNumDayEvents()) (number)
Returns:
canReport-trueif the player can report the event as spam; otherwisefalse(boolean)