API GetNumGuildMembers

From Vendetta Lua
Jump to navigationJump to search

GetNumGuildMembers

Definition: GetNumGuildMembers() -> int numchars
Description:
get number of online guildmembers
Returns:
chars number of guildmembers currently online or 0 if player is not in a guild
Example:
<source lang="lua"> for i=1,GetNumGuildMembers() do

 local id, rank, name = GetGuildMemberInfo(i)
 print("member: "..name)

end</source>