Wikia

WoWWiki

API CalendarEventInvite

Talk0
101,545pages on
this wiki
WoW API < CalendarEventInvite
Add's a player to the currently opened event.
CalendarEventInvite("player")

Parameters Edit

Arguments Edit

("player")
player 
String - The name of the player to be invited to the event

Returns Edit

nil

Notes Edit

You can't do invites while another calendar action is pending. Register to the event "CALENDAR_ACTION_PENDING" and using that, check with the CalendarCanSendInvite function if you can invite.

Inviting a player who is already on the invitation list will result in a "<Player> has already been invited." dialog box appearing.


Around Wikia's network

Random Wiki