WoW:API AddFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
(Added 50 person limit info)
Line 9: Line 9:
=== Returns ===
=== Returns ===
:<i>nil</i>
:<i>nil</i>
----
=== Details ===
You can have a maximum of 50 people on your friends list at the same time.


== Example ==
== Example ==
  AddFriend("Sembiance");
  AddFriend("Sembiance");
__NOTOC__
__NOTOC__

Revision as of 20:45, 5 January 2007

WoW API < AddFriend

Add a friend to your friend list.

AddFriend("playerName")

Parameters

Arguments

playerName
String - The name of the player you would like to add to your friends list

Returns

nil

Details

You can have a maximum of 50 people on your friends list at the same time.

Example

AddFriend("Sembiance");