WoW API: CalendarEventInvite
Jump to navigation
Jump to search
← WoW API < CalendarEventInvite
- Add's a player to the currently opened event.
CalendarEventInvite("player")
Parameters
Arguments
- ("player")
- player
- String - The name of the player to be invited to the event
Returns
- nil
Details
- Appearently, this function seems NOT to work within an addon. The following code, does not result in a proper invite:
function MyCreateEvent()
CalendarNewEvent() -- Create a new Event
CalendarEventSetDescription( "description" )
CalendarEventSetTitle ("title")
CalendarEventSetDate( 1,11,2008)
CalendarEventSetTime( 20,00)
CalendarAddEvent() -- Save the Event
CalendarEventInvite( player ) -- < This does not work
end