WoW:API AddFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added 50 person limit info)
m (Move page script moved page API AddFriend to API AddFriend without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
:;playerName : String - The name of the player you would like to add to your friends list
:;playerName : String - The name of the player you would like to add to your friends list
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''


----
----

Latest revision as of 04:45, 15 August 2023

WoW API < AddFriend

Add a friend to your friend list.

AddFriend("playerName")

Parameters[edit]

Arguments[edit]

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

Returns[edit]

nil

Details[edit]

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

Example[edit]

AddFriend("Sembiance");