WoW:API GetNumFriends
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.