Lua GetGroupPlayers

From ArcEmu-Wiki
Jump to: navigation, search

Returns the userdata of all current group members of a player. This function will send a list of group members of a player to the target.

Example

function ListGroupMembers(plr, target)
	for k, v in pairs(plr:GetGroupPlayers()) do
		target:SendBroadcastMessage(k.." - "..v)
	end
end
Personal tools