WoW:API AddFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Minor formatting cleanup)
Line 1: Line 1:
<center>'''AddFriend''' ''-Documentation by AlexanderYoshi-''</center>
<center>'''AddFriend''' - ''Documentation by AlexanderYoshi''</center>


Add a friend to your friend list.
Add a friend to your friend list.


  AddFriend(playerName);
  AddFriend("playerName")
== Parameters ==
=== Arguments ===
:("playerName")


----
:;playerName : String - The name of the player you would like to add to your friends list
;''Arguments''
=== Returns ===
 
:<i>nil</i>
:(String playerName)
 
:;playerName : The name of the player you would like to add to your friends list
 
----
;''Returns''
 
:;nil


----
== Example ==
;''Example''
<!-- begin code -->
  AddFriend("Sembiance");
  AddFriend("Sembiance");
 
<!-- end code -->
;''Result''
 
----
;''Description''
 
: Adds the specified playerName to your friend list.
 
----
----
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|AddFriend]]
[[Category:API Friend Functions|AddFriend]]
[[Category:API Friend Functions|AddFriend]]

Revision as of 18:50, 11 September 2005

AddFriend - Documentation by AlexanderYoshi

Add a friend to your friend list.

AddFriend("playerName")

Parameters

Arguments

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

Returns

nil

Example

AddFriend("Sembiance");

Template:WoW API