WoW:API AddFriend: Difference between revisions

155 bytes removed ,  15 August 2023
m
Move page script moved page API AddFriend to WoW:API AddFriend without leaving a redirect
mNo edit summary
m (Move page script moved page API AddFriend to WoW:API AddFriend without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>'''AddFriend''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Add a friend to your friend list.
Add a friend to your friend list.


  AddFriend(playerName);
  AddFriend("playerName")
== Parameters ==
=== Arguments ===
:
:;playerName : String - The name of the player you would like to add to your friends list
=== Returns ===
:''nil''


----
----
;''Arguments''
=== Details ===
 
You can have a maximum of 50 people on your friends list at the same time.
:(String playerName)
 
:;playerName : The name of the player you would like to add to your friends list


----
== Example ==
;''Returns''
 
:;nil
 
----
;''Example''
  AddFriend("Sembiance");
  AddFriend("Sembiance");
 
__NOTOC__
;''Result''
 
----
;''Description''
 
: Adds the specified playerName to your friend list.
 
----
{{Template:WoW API}}
[[Category:API Functions|AddFriend]]
[[Category:API Friend Functions|AddFriend]]
Anonymous user