API GetGuildMemberInfo

From Vendetta Lua
Jump to navigationJump to search

GetGuildMemberInfo

Definition: GetGuildMemberInfo(int index) -> int charid rank string name
Description:
get information about the guildmember of the given index
Arguments:
index index of online guildmembers 1-n
Returns:
charid character id
rank rank: 0=member, 1=lieutenant, 2=council member, 3=council member and lieutenant, 4=commander
name name of member

Example:
<source lang="lua"> for i=1,GetNumGuildMembers()do

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

end</source>