Returns the index of the first invitation on a given day to which the player has not responded


See also Calendar functions.

Signature:

index = CalendarGetFirstPendingInvite(monthOffset, day)

Arguments:

  • monthOffset - Month to query relative to the calendar's currently displayed month (i.e. 0 for current month, 1 for next month, -1 for previous month) (number)
  • day - Day of the month to query (number)

Returns:

  • index - Index of the event on the given day (from 1 to CalendarGetNumDayEvents()) (number)