WoW:API InviteUnit: Difference between revisions
Jump to navigation
Jump to search
m (→Past changes: add note argument.) |
m (clean up using AWB) |
||
Line 11: | Line 11: | ||
=== Returns === | === Returns === | ||
nil | nil | ||
=== Example === | === Example === | ||
<pre> InviteUnit("Dyselon"); </pre> | <pre> InviteUnit("Dyselon"); </pre> | ||
Line 21: | Line 21: | ||
== Past changes == | == Past changes == | ||
{{ | {{Patch 3.0.8|note=This function originally accepted "token" as a possible argument, but was changed in the patch to accept only player names.|comment=Code should be updated to use [[API UnitName|UnitName]]("token") instead.}} |
Revision as of 22:38, 4 October 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.