WoW:API InviteUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(→‎History: tweak)
Line 20: Line 20:
Invites the specified playerName to your group.
Invites the specified playerName to your group.


== History ==
== Past changes ==
* [[Patch 3.0.8]]: This function originally accepted "token" as a possible argument, but was changed in the patch to accept only player names. Code should be updated to use [[API_UnitName|UnitName]]("token") instead.
{{patched|patch=3.0.8|comment=This function originally accepted "token" as a possible argument, but was changed in the patch to accept only player names. Code should be updated to use [[API_UnitName|UnitName]]("token") instead.}}

Revision as of 05:04, 6 April 2009

WoW API < InviteUnit

Invite a player to join your party.

 InviteUnit(playerName) 

Parameters

Arguments

(String playerName)

playerName
The name of the player you would like to invite to a group.

Returns

nil

Example

 InviteUnit("Dyselon"); 

Result

Description

Invites the specified playerName to your group.

Past changes

Template:Patched