WoW:API AddFriend: Difference between revisions
Jump to navigation
Jump to search
m (Minor formatting cleanup) |
m (Move page script moved page API AddFriend to API AddFriend without leaving a redirect) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Add a friend to your friend list. | Add a friend to your friend list. | ||
Line 6: | Line 5: | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
: | : | ||
:;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 === | ||
: | :''nil'' | ||
---- | |||
=== 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__ | ||
Latest revision as of 04:45, 15 August 2023
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");