WoW:API AddFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m ({{wowapi}})
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.


Line 6: Line 5:
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
:("playerName")
:
 
:;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 ===
Line 13: Line 11:


== Example ==
== Example ==
<!-- begin code -->
  AddFriend("Sembiance");
  AddFriend("Sembiance");
<!-- end code -->
----
{{WoW API}}
__NOTOC__
__NOTOC__

Revision as of 12:05, 18 June 2006

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

Example

AddFriend("Sembiance");