WoW:API GetNumFriends

Revision as of 14:43, 27 August 2005 by WoWWiki>Inglais
GetNumFriends -Documentation by jpopcenter-

Returns number of friends.

numberOfFriends = GetNumFriends();


Arguments
None

Returns
(Number numberOfFriends)
numberOfFriends
The number of friends.

Example
DEFAULT_CHAT_FRAME:AddMessage("I've got " .. GetNumFriends() .. " friend(s)");
Result

Prints a message in the default chat frame.


Description
Returns number of friends.

Template:WoW API