Lua GetGuildLeader
Usage/Example
function npc_OnGossip(pUnit, event, player)
if player:GetGuildLeader() == player:GetName() then
-- do something
else
-- do whatever if the player is NOT guild leader of a guild
end
end
function npc_OnGossip(pUnit, event, player)
if player:GetGuildLeader() == player:GetName() then
-- do something
else
-- do whatever if the player is NOT guild leader of a guild
end
end