WoW:API GetNumFriends: Difference between revisions
Jump to navigation
Jump to search
GetNumFriends -Documentation by jpopcenter-
No edit summary |
mNo edit summary |
||
Line 32: | Line 32: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|GetNumFriends]] | |||
[[Category:API Friend Functions|GetNumFriends]] |
Revision as of 14:43, 27 August 2005
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.