WoW API: InviteUnit

From AddOn Studio
Revision as of 15:29, 20 December 2006 by WoWWiki>Haghala
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < InviteUnit

Add a friend to your friend list.

 InviteUnit(playerName); or InviteUnit("target") 

Parameters

Arguments

(String playerName, unit)

"Unit"
The unit you would like to invite to a group.
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.